Loops: Question Preview (ID: 12122)


Below is a preview of the questions contained within the game titled LOOPS: Loops In Programming Languages .To play games using this data set, follow the directions below. Good luck and have fun. Enjoy! [print these questions]


Play games to reveal the correct answers. Click here to play a game and get the answers.

Which kind of loop will iterate at least once and then possibly for ever?
a) do - while
b) if
c) for
d) while

Which of the following is a post test loop?
a) do-while
b) if
c) for
d) while

Which of the following is a pre-test loop
a) do - while
b) if
c) for
d) while

Which of the following is a loop that may never iterate?
a) do - while
b) if
c) for
d) while

Which of the following is a set-test loop?
a) do - while
b) if
c) for
d) while

Which of the following would you use if you can calculate how many times the loop should iterate?
a) do - while
b) if
c) for
d) while

Which of the following is NOT a loop?
a) do-while
b) if
c) for
d) while

In a for loop, the amount that you increment the index value is called a
a) step-value
b) fracture
c) conditional
d) index

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) scope
c) step-value
d) conditional

What is an infinite loop?
a) A loop where the conditional is never changed to false
b) A loop where the conditional starts at false
c) A loop that never iterates
d) A loop that iterates only once

Play Games with the Questions above at ReviewGameZone.com
To play games using the questions from the data set above, visit ReviewGameZone.com and enter game ID number: 12122 in the upper right hand corner at ReviewGameZone.com or simply click on the link above this text.

TEACHERS / EDUCATORS
Log In
| Sign Up / Register