DATA TYPES & VARIABLES Flashcards
(7 cards)
1
Q
What is a variable?
A
A named location to store changing data.
2
Q
What is a constant?
A
A value that does not change.
3
Q
Examples of variable names?
A
age, name, quantity.
4
Q
What is a string?
A
A group of characters (e.g., “Hello”).
5
Q
What is a Boolean?
A
A data type with two values: true/false or yes/no.
6
Q
What is Real?
A
Numbers with decimals
7
Q
What is Integer?
A
Whole Numbers