MEMORY MANAGEMENT Flashcards

1
Q

Main memory is divided into two parts:

A

one for the operating system and one part for the program currently being executed.

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

The ‘user’ part of memory may be further subdivided to

A

accommodate multiple processes in a multiprogramming system.

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

Memory is allocated to ensure a

A

reasonable supply of ready processes to consume available processor time.

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

The memory management module must meet five main requirements, which include:

A

relocation, protection, sharing, logical organisation, and physical organisation.

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

Relocation

A

The role of relocation is the ability to execute processes independently from their physical location in memory.

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

A program must be compiled and linked in

A

such a way that it can later be loaded starting from an unpredictable address in memory, an address that can even change during the execution of the process itself.

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

Protection:

A

Each process should be protected against unwanted interference by other processes. Programs should therefore not be able to reference memory locations in a process for reading or writing purposes without permission.

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

All memory references generated by a process must be

A

checked at run time to ensure that they refer only to the memory space allocated to that process.

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

Sharing:

A

Several processes should be able to access the same portion of main memory. If a number of processes are executing the same program, it is good to allow each process to access the same copy of the program instead of accessing its own copy.

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

Within an individual program, memory references may be included as

A

branch instructions, which contain an address to reference the instruction to be executed next, and as data reference instructions, which contain the address of the byte or word of data referenced.

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

Logical organisation:

A

In RAM, logic is represented in the form of data structures. Physical organisation: Physical data is stored linearly in RAM. These linear pieces of data are stored in bits. Physical storage is always linear and logical structures are imposed over this using some method of organisation.

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