2 - Variable Attributes and Bindings Flashcards

(14 cards)

1
Q

identifiers

A

name

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

memory location of a variable at a current time

A

address

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

when two or more identifiers refer to the same address

A

aliases

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

the set of possible values and defined/legal operations (sometimes representation size/format)

A

type

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

bits stored in memory cells

A

value

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

the location (address) you need to write to

A

L-value

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

actual data contents you read

A

R-value

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

TRUE OR FALSE: you can modify the R-value directly without the L-value

A

FALSE

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

time during which a variable is bound to a specific memory location

activation and deactivation

A

lifetime

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

region of a program’s source code where a particular variable or name is visible and can be accessed

A

scope

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

association between an attribute and entity

A

binding

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

when that association is fixed

A

binding time

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

occurs before run time and remains unchanged throughout program execution

A

static binding

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

occurs during run time and can be changed during program execution

A

dynamic binding

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