Variables and Data Types
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 10
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
How do you declare a double variable named 'price'?
QUESTION
How do you declare a char variable named 'grade'?
QUESTION
How do you declare a float variable named 'temperature'?
Tap to flip before you grade
ANSWER
float temperature;. Float provides 32-bit precision for decimal numbers.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card