Variable Tuple Flashcards

1
Q

Variable sextuple?

A

V = (N, A, V, T, L, S)

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

N

A

Name
Name of variable: int numVal

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

A

A

Address
Memory location of variable

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

V

A

Value
What is stored at memory cell referred to by the address

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

T

A

Type
Set of allowable values the value of a variable may draw from

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

L

A

Lifetime
How long variable will exist for (in memory)

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

S

A

Scope
Specific context that variable exists in

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