13. Address Spaces Flashcards

1
Q

What is multiprogramming?

A

It is when multiple processes are loaded into memory and the CPU switches between them when needed. For example, when an I/O request happens.

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

What is the difference between time sharing and multiprogramming?

A

Time sharing switches automatically between many processes and run each of them for a short period of time.

Multiprogramming switches only when it’s needed, for example I/O request.

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

What is address space

A

The process view of the memory

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

What is inside of an address space

A

Code, stack, heap

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

What are the arrangements of the components in an address space

A

Code (located at the top and does not grow)
Stack (located at the bottom and grows upwards)
Heap (located below the code and grows downwards)

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

What is a virtual address

A

An abstracted version of the physical address that exists in the process address space

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

What are the goals of a Virtual Memory (VM)?

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