Compound Assignment Operators
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 6
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What result does 'x %= 4' give if x is 9?
QUESTION
Identify the compound assignment operator in 'x += 5'.
QUESTION
What is the result after 'z *= 3' if z is 7?
Tap to flip before you grade
ANSWER
21. 7 × 3 = 21, then assigned back to z.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card