Variables and Assignments
AP Computer Science Principles · Flashcards · Recall
AP COMPUTER SCIENCE PRINCIPLES · FLASHCARDS
Card 1
of 21
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is a variable in programming?
QUESTION
What is the scope of a variable declared inside a function?
QUESTION
What is the output type of 'x / y' if x and y are int?
Tap to flip before you grade
ANSWER
int. Integer division truncates decimal portion.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card