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
for
B
if
C
while
D
do - while
2) Which of the following is a post test loop?
A
do-while
B
while
C
if
D
for
3) Which of the following is a pre-test loop
A
while
B
do - while
C
if
D
for
4) Which of the following is a loop that may never iterate?
A
do - while
B
if
C
for
D
while
5) Which of the following is a set-test loop?
A
while
B
do - while
C
for
D
if
6) Which of the following would you use if you can calculate how many times the loop should iterate?
A
for
B
if
C
do - while
D
while
7) Which of the following is NOT a loop?
A
while
B
for
C
do-while
D
if
8) In a for loop, the amount that you increment the index value is called a
A
fracture
B
conditional
C
step-value
D
index
9) In a for loop, the variable that counts or keeps track of how many times the loop is iterated is called the
A
index
B
step-value
C
scope
D
conditional
10) What is an infinite loop?
A
A loop that never iterates
B
A loop where the conditional starts at false
C
A loop that iterates only once
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?