Multiple Choice
Case 1
You have just starting working at Quantum Company. As a new programmer, you have been asked to review and correct various pseudocode.
-In the following pseudocode,what will be the value of sum after the code is run? Declarations
Num count = 0
Num sum = 0
While count < 3
For X = 1 to 2 step 1
Sum = sum + X
Endfor
Count = count + 1
Endwhile
A) 3
B) 6
C) 9
D) 12
Correct Answer:

Verified
Correct Answer:
Verified
Q35: The _ statement uses a loop control
Q36: Often,the value of a loop control variable
Q37: When you do not know when you
Q38: If a data item is valid,you can
Q39: A loop for which the number of
Q41: Every high-level computer programming language contains a
Q42: With a _ loop,the loop body executes
Q43: When you write a loop,you must control
Q44: When one loop is nested within another,the
Q45: Name three common mistakes that programmers make