
CMP128 Java Ch. 04 Loops Pt. 1
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is true about For Loops? Options: They are counter-controlled, They iterate a finite number of times, They contain an initialization of a counter variable, a condition test, and a counter accumulation or decrementation.
Back
All of the above
2.
FLASHCARD QUESTION
Front
Which of the following is NOT true about While Loops? Options: They are post-test loops., They contain a priming statement., They contain an updating statement., They are used when you cannot quantify the number of iterations, but some indeterminate qualifier will terminate it.
Back
They are post-test loops.
3.
FLASHCARD QUESTION
Front
Which construct is best used for event-driven qualifiable pre-test loops? Options: While Loop, For Loop, Do While Loop, For Next Loop
Back
While Loop
4.
FLASHCARD QUESTION
Front
Which construct is best for event-driven qualifiable post-test loops? Options: While Loop, For Loop, Do While Loop, For Next Loop
Back
Do While Loop
5.
FLASHCARD QUESTION
Front
Which construct is best used for counter-controlled finite (quantifiable) loops? Options: While Loop, For Loop, Do While Loop, None of these
Back
For Loop
6.
FLASHCARD QUESTION
Front
Which type of looping structure is guaranteed to execute at least one time? Options: While Loop, Do While Loop, For Loop, None of these
Back
Do While Loop
7.
FLASHCARD QUESTION
Front
Which term describes a normal terminator for a looping structure? Options: A continue clause, A break clause, A sentinel value, A stop clause
Back
A sentinel value
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?