Iteration
AP Computer Science Principles · Flashcards · Recall
AP COMPUTER SCIENCE PRINCIPLES · FLASHCARDS
Card 1
of 26
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the role of an iterator?
QUESTION
Identify the purpose of 'range()' in a 'for' loop.
QUESTION
What happens when 'continue' is executed in a loop?
Tap to flip before you grade
ANSWER
Skips the current iteration and continues with the next. It jumps directly to the next loop iteration.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card