Variables Flashcards

1
Q

What operator is used to assign values to variables?

A

The =

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

The first assignment of a variable has a specific name. What is this called?

A

Initialization - the variable is initialized with specific value.

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

It is possible to assign multiple values to different variables at the same time, this is called?

A

Parrallel assignment

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

What are the four primitive data types?

A

Numbers, strings, booleans and symbols

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

What is initialization?

A

A variable is initialized when it has a unique name and value.

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

When is a variable declared?

A

When it is given a specific, unique name.

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

What is it called when you change the value of a variable?

A

It is called re-assignment.

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