Address Space Intro Qs Flashcards

1
Q

What are the three main segments in a basic address space?

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

What does the stack segment store?

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

When memory is allocated using malloc() in C, in which segment is it placed?

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

How is code(instructions) typically placed in the address space?

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

Why are the stack and heap typically placed at opposite ends of the address space?

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

What is the primary purpose of memory virtualization?

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

What is a goal of virtual memory systems?

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

What is meant by “transparency” in the context of virtual memory?

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

When a programmer prints out a pointer address in their program, what type of address are they seeing?

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

What key memory protection feature did multiprogramming introduce as an important requirement?

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