
Basic Data Types and Variables
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Easy
Andrew Ward
Used 1+ times
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What values does a Boolean store?
Back
TRUE or FALSE
2.
FLASHCARD QUESTION
Front
What is a common use for Boolean values?
Back
Often used as flags to indicate the result of a condition.
3.
FLASHCARD QUESTION
Front
What does a String store?
Back
A string of characters, used to store text such as names or telephone numbers.
4.
FLASHCARD QUESTION
Front
What type of values does an Integer store?
Back
Whole number values, positive or negative, used to store data which will never have a decimal value such as quantities.
5.
FLASHCARD QUESTION
Front
What type of values does a Float/Decimal store?
Back
Decimal values, used to store fractional values such as prices.
6.
FLASHCARD QUESTION
Front
What is a variable?
Back
A variable is a named memory address that holds a value, which can change as the program is running.
7.
FLASHCARD QUESTION
Front
What are the rules for naming a variable?
Back
It can contain letters and numbers but must start with a letter. It must not contain special or punctuation characters, an underscore can be used but spaces are not allowed. The name should be meaningful and represent the value it is holding.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?