Algorithms with Selection and Repetition
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 14
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Find the error: for (int i = 0; i < 10; i--)
QUESTION
How many times will this loop execute? for (int i = 0; i < 5; i++)
QUESTION
Determine the output: int i = 0; do { System.out.print(i); } while (i > 0);
Tap to flip before you grade
ANSWER
0. Executes once since condition checked after execution.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card