Compound Assignment Operators
AP Computer Science A · Flashcards
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 16
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What does 'x += y' do to x?
QUESTION
What does 'x -= y' do to x?
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