Memory Management Flashcards
What do you understand by the term Memory Management?
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
Define the phrase Project Address Space?
Process Address Space is the set of all the logical addresses that a process reference in its code
Another Name for a Project Address Space?
Logical Address Space
How many types of addresses are used before and after memory allocation?
Mention them?
Three!!!
1.Symbolic addresses 2.Relative addresses 3.Physical addresses
What is that very important CPU Scheduling benefit?
it allow for improve CPU utilization and increase in speed of computer response to users
What comes to your mind when you hear ;
Variable names
Constants
Instruction Labels
Symbolic Addresses
During compilation Symbolic address is converted into
_____________?
Relative Address
What Address is generated by the loader when it is loaded into the Main Memory?
Physical Address
Binding of symbolic addresses to Physical Addresses
occurs when;
a) During execution b) Compilation c) Loading d) All of the option
D) All of the options
State the difference between Static and Dynamic Loading?
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
What is Swapping
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
What is another name for Swapping
Memory Compaction
Swapping allows for multiplexing or multiprogramming
True or False
True
What is that one thing Swapping cause
it affects performance
Mention the types of Memory partition and what they are used for
Low Memory - where the OS is stored
High Memory - where the user processes are stored
How Many types of memory allocation techniques do OS use
Mention them and state their differences
Single partition allocation (1 partition for all process uses RRS)
Multiple partition allocation( Divided into smaller partition to hold a process each)
What is full meaning of RRS and what is it important in single partition allocation
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
What is the the problem most OS management seek to solve?
define it
Fragmentation
this is when processes cannot be assigned to Memory blocks because of the blocks size( usually the memory is split into smaller size
Differences between External and Internal Fragmentati
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