Memory Management Flashcards

1
Q

What do you understand by the term Memory Management?

A

This is the functionality of OS that handles and manages the primary memory and moves processes back and forth between the main memory and disk during execution

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

Define the phrase Project Address Space?

A

Process Address Space is the set of all the logical addresses that a process reference in its code

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

Another Name for a Project Address Space?

A

Logical Address Space

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

How many types of addresses are used before and after memory allocation?
Mention them?

A

Three!!!

1.Symbolic addresses 2.Relative addresses 3.Physical addresses

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

What is that very important CPU Scheduling benefit?

A

it allow for improve CPU utilization and increase in speed of computer response to users

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

What comes to your mind when you hear ;
Variable names
Constants
Instruction Labels

A

Symbolic Addresses

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

During compilation Symbolic address is converted into

_____________?

A

Relative Address

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

What Address is generated by the loader when it is loaded into the Main Memory?

A

Physical Address

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

Binding of symbolic addresses to Physical Addresses
occurs when;
a) During execution b) Compilation c) Loading d) All of the option

A

D) All of the options

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

State the difference between Static and Dynamic Loading?

A

Static Loading ; Every (Absolute Program) data is loaded into the Main Memory for the for the execution to start
While
Dynamic Loading ; dynamic routine of library are stored on a disk in relocatable form so they are loaded when they are needed

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

What is Swapping

A

this is the mechanisms in which a process can be swapped temporarily out of the main memory into the secondary memory and make the memory available for other process

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

What is another name for Swapping

A

Memory Compaction

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

Swapping allows for multiplexing or multiprogramming

True or False

A

True

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

What is that one thing Swapping cause

A

it affects performance

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

Mention the types of Memory partition and what they are used for

A

Low Memory - where the OS is stored

High Memory - where the user processes are stored

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

How Many types of memory allocation techniques do OS use

Mention them and state their differences

A

Single partition allocation (1 partition for all process uses RRS)
Multiple partition allocation( Divided into smaller partition to hold a process each)

17
Q

What is full meaning of RRS and what is it important in single partition allocation

A

since all the process are loaded in a single memory there is a need for the protecting of one process from the other to avoid overwritten this is where the RRS comes in

18
Q

What is the the problem most OS management seek to solve?

define it

A

Fragmentation
this is when processes cannot be assigned to Memory blocks because of the blocks size( usually the memory is split into smaller size

19
Q

Differences between External and Internal Fragmentati

A

External fragmentation– Here the fragment when combined (in total) is enough for a process each fragment on it own can’t handle the process and the are connected(contiguous)
solved by compaction technique (Swapping)

Internal fragmentation; Here too much space is assigned to a process living the other space useless to the remaining procedd