while Loops()
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 17
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Identify the error: int i = 0; while i < 10 { i++; }
QUESTION
What is the output? int x = 1; while (x++ < 3) { System.out.print(x); }
QUESTION
Identify the loop: while (x < 10) { x++; }
Tap to flip before you grade
ANSWER
A simple counting loop. Basic incrementing loop pattern for iteration.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card