1.2.1 Operating Systems - Memory Management Flashcards

1
Q

What does memory management allow for?

A

Memory management allows programs to be stored in memory safely and efficiently.

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

What could one program do to another without memory management?

A

Without memory management, one program could change the data of another. With memory management each different program will be using its own data.

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

What is segmentation?

A

Segmentation is the splitting up of a program into blocks containing modules or routines.

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

What is pagination (paging)?

A

Pagination (paging) is the splitting up of programs into blocks of the same physical memory size. Each physical unit is a page.

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

How are pages kept track of?

A

The operating system uses a page table to keep track of where pages are stored, meaning they don’t have to be stored contiguously (next to each other).

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

What do most modern operating systems use in memory management, pagination (paging) or segmentation?

A

Most modern operating systems use a combination of paging and segmentation in their memory management.

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

Why is paging and segmentation used?

A

Paging and segmentation is used to maintain efficiency - when a new program needs to be loaded into memory, it is inefficient to ‘shuffle’ an entire program along to give room for this new process. Instead the operating systems splits processes via paging or segmentation.

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