for Loops
AP Computer Science A · Flashcards
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 37
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
How many times will the loop execute: for(int i = 0; i < 4; i++) { }?
QUESTION
What does the loop control variable do in a for loop?
QUESTION
What does the 'break' statement do in a for loop?
Tap to flip before you grade
ANSWER
Exits the loop immediately. Terminates loop execution completely and immediately.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card