Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
Loops
Test Description: Loops in programming languages
Instructions: Answer all questions to get your test result.
1) Which kind of loop will iterate at least once and then possibly for ever?
A
if
B
for
C
do - while
D
while
2) Which of the following is a post test loop?
A
do-while
B
while
C
for
D
if
3) Which of the following is a pre-test loop
A
if
B
while
C
for
D
do - while
4) Which of the following is a loop that may never iterate?
A
if
B
do - while
C
for
D
while
5) Which of the following is a set-test loop?
A
for
B
while
C
do - while
D
if
6) Which of the following would you use if you can calculate how many times the loop should iterate?
A
do - while
B
while
C
for
D
if
7) Which of the following is NOT a loop?
A
for
B
while
C
do-while
D
if
8) In a for loop, the amount that you increment the index value is called a
A
conditional
B
index
C
fracture
D
step-value
9) In a for loop, the variable that counts or keeps track of how many times the loop is iterated is called the
A
scope
B
index
C
conditional
D
step-value
10) What is an infinite loop?
A
A loop that never iterates
B
A loop that iterates only once
C
A loop where the conditional starts at false
D
A loop where the conditional is never changed to false
*select an answer for all questions
Check Results & Get Answers
Play Games with the Questions Above
Teachers: Create FREE classroom games with your questions
Click for more info!
©2007-2024
ReviewGameZone.com
|
About
|
Privacy
|
Contact
|
Terms
|
Site Map
WAIT! Find what you needed?
×
Still Looking for the Answers?
Have Another Question?
Play a Review Game with These Questions?
Want to Make Your Own Test Like This One?