(1)Number of time while loop iterate depends upon number entered
by user.
if number is non-zero than it will run more times
otherwise it run Zero time
option-C
(2)Pseudocode is an artificial language used to develop algorithms.
(3)(b)developing the algorithm for the solution
(4)while loop stop executing if condition is false
option(c)'python'<'Python' is false because
'python'>'Python'
(5)Number of arguments in function range is 1,2,3
option b and c are true
(6)it return string index of ('way!') in string 'Not way!' =
4
option -c
(7)
square = 4
def main():
square = 2
square/=square
print(int(square))
main()
it will output =1 option(a)
(8)
i=3
pattern = 'z'*(5%i)
5%3 = 2
pattern = 'z'*2
pattern = 'zz'
option = (b)
х сув мм Full Name (Print please) ITM 330 Final Exam. Fall 2018 Multiple Choice (questions...
This is my Final Multiple Choice section of my Final Exam Please answer ABCD and neatly please and thank you and all questions are with microsoft visual studio c++. MULTIPLE CHOICE. Choose ONLY ONE alternative that best completes the statement or answers the question. 1) Which of the following statements are correct? 1) _______ A) char charArray[2][] = {{'a', 'b'}, {'c', 'd'}}; B) char charArray[2][2] = {{'a', 'b'}, {'c', 'd'}}; C) char charArray[][] = {{'a', 'b'}, {'c', 'd'}};D) char charArray[][]...
1,4,5
Multiple Choice (Find Output or Fix Error) 1. What will be the final value of product 7、 inta,b; Given above code, what will be the value of a andb if user types: 31 42 nt producr- 3, product 3 prodct while (product70) a) 81 31 What is the output of the following code? char Grade8 27 8. d) Error in do-while code 2. This loop is a good choice when you know how many times you want the loop...
Please answer fast with the multiple choice answers
only. Thanks a lot
28. Select all of the function calls that result in this output 32. What is the output of the following? while True: tom dick if 19620: break print(i) harry a) print('tom Andick nharry b) print("'tomdickharry c) print('tom ndickinharry) a) 1 b) 12 c) 123456 d) 13 57911 d) printl'tom dick harry) 33. What is the output of the following? x "abcdef while i in x: a) no output...
Multiple choice data structures questions about stacks. Here is an INCORRECT pseudocode for the algorithm which is supposed to determine whether a sequence of parentheses is balanced: declare a character stack while ( more input is available) { read a character if ( the character is a '(' ) push it on the stack else if ( the character is a ')' and the stack is not empty ) pop a character off the stack else print "unbalanced" and exit...
Please answer all multiple choice
All
questions need to be answered!
Questions 1-20 are multiple choice questions. Please mark the correct circle on the Scantron form. Only the Scantron form will be graded. Scantron must be filled in before time is called Which of the following acids is not a strong acid? 5 HI b. HBr to SEHNO, HF HESO. Venter 2. Which of the following is an example of an empirical formula: a Cs Ho HO LP Fea(SO) d)...
S1I Summer 09 Page 7 Practice Final Exam (30 points) Fill in the blanks to complete the following recursive program It should print a pattern like the one below, using System.out.printin. The argument, lines, says how many lines long the pattern should be. Assume you have a method String nspaces(n) which returns a string containing n spaces. CYou should not write nspaces.) Here is the pattern when lines is 4. The first line VI. name has one space before the...
Exam Math 241 Final Exam Spring 2019 Name INSTRUCTIONS 1. Write your name on the test paper and your scantron 2. Turn your cell phones off during exam time 3, print your name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the absolute extreme values of the function on the interval. 1) g(x)-9-6x2, -3sxs5 A) absolute maximum is 54 at x-0: absolute minimum is-45 at x--3 B) absolute maximum is 9 atx...
Answer the following multiple choice questions: 1) What is scope? a. The region between curly braces. b. The region of code where a name can be used to reference a piece of data. c. The name for a piece of memory that holds a value. d. The abstraction of a concept that is important to remember. 2) Which of the following is not an Object Oriented concept? a. Procedure Calling. b. Inheritance. c. Access Specifiers. d. None of the above....
Print Your Full Name A dielectric slab is slowly inserted the capacitor is connected to a battery. As it is being inserted: s. between the plates of a parallel plate capacitor while (A) The capacitance, the potential difference between the plates, and the charge on the positive plate all increase. (B) The capacitance, the potential difference between the plates, and the charge on the (C) The potential difference between the plates increases, the charge on the positive plate (D) The...
Need help with some multiple choice questions (Related concepts are web development languages) S1. Which HTML color code would give a shade of gray? a) #ffffcc b) #ccccff c) #ffcc44 d) #666666 e) #669966 S2. Which HTML attribute of the TABLE tag sets the distance between the border and the content of each cell? a) width b) border c) marginspace d) cellpadding e) cellspacing S3. Identify the property that is *not* used to define...