Memory Management Flashcards

1
Q

Memory management is one of the functions of… BLANK … in an abstract machine

A

The interpreter!

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

Static memory management is sufficient if your language does not support…

A

Dynamic memory allocation/deallocation nor recursive procedure calls!

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

What are activation records, aka runtime stack of frames

A

A LIFO data structure, for each inline-block or procedure, entered, a frame is pushed on the stack. Upon exit, it is popped.

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

The static chain

A

Pointer from one frame to the frame of the enclosing block

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

The dynamic chain

A

Pointer from one frame to the last active frame in the activation records (the frame above)

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