Terms
Fill in the blank
Output
More Terms!
Other Questions
100
term for repeating a portion of code over and over
What is a loop?
100
for( _________; i < 75 ; i++)
What is int i = 0?
100
for (int i = 0; i < 3; i++){ cout << i << endl; }
What is 0, 1, 2?
100
Keeps track of how times the loop was completed
What is a counter?
100
Evaluated at the start or end of a loop to determine if it continues processing
What is a condition?
200
evaluates before any code is repeated
What is a pretest loop?
200
___ { code } while (i < 75);
What is do?
200
int i = 0; while (i < 5){ cout << i << endl; i++; }
What is 0, 1, 2, 3, 4?
200
A loop that never ends processing
What is an infinite or endless loop?
200
adding a value to the counter or accumulator during a loop
What is updating or incrementing?
300
Evaluates the condition after processing the statements in the loop
What is a posttest loop?
300
while ( ________){ code }
What is the condition?
300
for (int i = 0; i < 5; i + 2) { cout << i << endl; }
What is 0, 2, 4?
300
A value that is not valid data but ends processing of a loop
What is a sentinel?
300
Part of a loop that contains the code to be executed
What is the loop body?
400
Term that describes a variable that stores the results of addition or subtraction
What is an accumulator?
400
for ( int i = 0; i < 75; ______ ) { code }
What is i++?
400
int i = 0; do { cout << i << endl; i += 3; }while (i <= 2);
What is 0?
400
Assigning a value to a variable before using it
What is initializing?
400
A do-while loop is the only example of one. It is _______ driven
What is bottom?
500
Term for processing the statements in a loop once
What is iteration?
500
while ( i< 75) { code _______ }
What is increment the counter?
500
int i = 0; while (i <= 5) { cout << i << endl; i += 4; }
What is 0, 4?
500
Having a loop inside of a loop is called
What is a nested loop or nested repetition structure?
500
What is the output? int i = 0; while ( i >= 0) { cout << "This class rocks!" << endl; }
What is an infinite loop?
Continue
ESC
Reveal Correct Response
Spacebar
M
e
n
u
Team 1
0
+
-
Loops in C++
No teams
1 team
2 teams
3 teams
4 teams
5 teams
6 teams
7 teams
8 teams
9 teams
10 teams
Custom
Press
F11
Select menu option
View > Enter Fullscreen
for full-screen mode
Edit
•
Print
•
Download
•
Embed
•
Share
JeopardyLabs