Program Design and Development
AP Computer Science Principles · Flashcards
AP COMPUTER SCIENCE PRINCIPLES · FLASHCARDS
Card 1
of 37
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the difference between a class and an object?
QUESTION
Identify the error: 'if (x = 10)'
QUESTION
Identify the error: 'while(x > 0); { x--; }'
Tap to flip before you grade
ANSWER
Remove ';' after the condition. Semicolon creates empty loop body, preventing intended execution.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card