Return to Topic Menu | Computer Science Main Page | MathBits.com | Terms of Use | Resource CD
Multiple Choice C++ Quiz Unit 4 - Looping
2. Which looping process checks the test condition at the end of the loop?
3. A continue statement causes execution to skip to
4. In a group of nested loops, which loop is executed the most number of times?
5. The statement i++; is equivalent to
6. Which looping process is best used when the number of iterations is known?
7. What's wrong? for (int k = 2, k <=12, k++)
8. What's wrong? while( (i < 10) && (i > 24))
9. If there is more than one statement in the block of a for loop, which of the following must be placed at the beginning and the ending of the loop block?
10. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);