Variables and Assignments
AP Computer Science Principles · Flashcards · Application
AP COMPUTER SCIENCE PRINCIPLES · FLASHCARDS
Card 1
of 14
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Which variable name is valid: 2name, _name, name?
QUESTION
What is the result of 'x = 10 % 3;'?
QUESTION
What is the result of the expression '10 - 2 * 5'?
Tap to flip before you grade
ANSWER
0. Order of operations:
10
−
(
2
×
5
)
=
0
10 - (2 × 5) = 0
10
−
(
2
×
5
)
=
0
.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card