Ch. 2.4: Variables, Literals, and Assignment Statements Flashcards

1
Q

What is an assignment?

A

An operator that copies the value on its right into the varial named on the left.

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

What is a variable definition?

A

Tells the compiler the variable’s name and the type of data it will hold.

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

What is a literal?

A

A piece of data that is written directly into a program’s code.

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