Platform Technology PRE-FINALS Flashcards
The functionality of an operating system that manages the primary memory, which includes the movement of processes back and forth between the main and the secondary memory during execution.
Memory management
Addresses used in a program before and after memory allocation.
Symbolic, Relative, and Physical
Addresses used in a source code.
Symbolic addresses
Addresses at the time of compilation.
Relative addresses
Addresses generated by the loader when a program is loaded into the main memory.
Physical address
Pertains to a fixed-length block of main memory.
Frame
Refers to a fixed-length block of data that resides in the secondary memory.
Page
A variable-length block of data that resides in the secondary memory.
Segment
A mechanism in which a process can be swapped temporarily out of the main memory to the secondary memory in order to make memory space available for other processes.
Swapping
This occurs due to the continuous loading and removal of processes in the memory, wherein free memory spaces are broken down into smaller fragments.
Fragmentation
Occurs when the allotted memory blocks are varying sizes.
External fragmentation
Occurs when the allotted memory blocks are fixed size, and specific processes need more space or less space than the size of the allotted memory block.
Internal fragmentation
A volatile memory that provides fast access at a relatively high cost.
Main memory
Usually a non-volatile memory at a cheaper cost with slower access.
Secondary memory
The main memory is divided into a number of static partitions at system generation time, wherein a process may be loaded into a partition of equal or greater size.
Fixed Partitioning
The partitions are created dynamically, wherein each process is loaded into a partition of exactly the same size as the process.
Dynamic Partitioning
This chooses the block that is closest to the requested size.
Best-fit
This scans the memory from the beginning and chooses the first available block that is large enough to cater to the process.
First-fit
This scans the memory from the location of the last placement and chooses the next available block that is large enough to cater to the process.
Next-fit