Primative Data Types(1.4.1 a) Flashcards
1
Q
What are primitive data types?
A
basic data types predefined within a given program
2
Q
Four main data types
A
integer
float
string
boolean
3
Q
What is a variable?
A
a reference to a memory location that holds a value
can have their values changed dynamically as a program runs
4
Q
What is a constant?
A
variable that cannot have its value dynamically changed as the program runs
5
Q
What are literals?
A
the actual values of primitive data types that can be stored in variables or constants