Primative Data Types(1.4.1 a) Flashcards

1
Q

What are primitive data types?

A

basic data types predefined within a given program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Four main data types

A

integer
float
string
boolean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a constant?

A

variable that cannot have its value dynamically changed as the program runs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are literals?

A

the actual values of primitive data types that can be stored in variables or constants

How well did you know this?
1
Not at all
2
3
4
5
Perfectly