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