Binding Flashcards

1
Q

is an association between an attribute and an entity such as between a variable and its type or value, or between an operation and a symbol

A

binding

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

Binding can take place at any of the following:

A
  1. Language design time
  2. Language implementation time
  3. Compile time
  4. Load time
  5. Link time
  6. Run time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A binding is … if it occurs before run time begins and remains unchanged throughout program execution

A

static

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

A binding is … if it occurs during run time or can change in the course of program execution

A

dynamic

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

is a statement in a program that lists variable names and specifies that they are a particular type

A

explicit declaration

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

is a means of associating variables with types through default conventions, rather than declaration statements

A

implicit declaration

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

the variable is bound to the type of the value of the expression on the right side of the statement

A

dynamic type binding

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

is the process of taking the memory cell to which a variable is bound from a pool of available memory.

A

Allocation

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

is the process of placing a memory cell that has been unbound from a variable back into the pool of available memory

A

Deallocation

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

of a variable is the time during the variable is bound to a specific memory location

A

lifetime

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

are those bound to memory cells before program execution begins and remain bound to those same memory cells until program execution terminates

A

Static variables

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

are those whose storage bindings are created when their declaration statements are elaborated, but whose types are statistically bound

A

Stack-dynamic variables

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

of such a declaration refers to the storage allocation and binding process indicated by the declaration, which takes place when execution reaches the code which the declaration is attached.

A

Elaboration

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

are nameless (abstract) memory cells that are allocated and deallocated by explicit run time instructions written by the programmer

A

Explicit heap-dynamic variables

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

are bound to heap storage only when they are assigned values. All their attributes are bound every time they are assigned

A

Implicit heap-dynamic variables

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