U2) Memory mgmt & Storage Mgmt Flashcards
(17 cards)
What is Memory Management in OS?
It manages RAM allocation, tracks memory usage, and handles allocation/deallocation.
What is Swapping?
Moving inactive processes to disk temporarily to free up RAM.
What is Contiguous Memory Allocation?
Memory is divided into fixed/variable blocks; one block per process.
What is External Fragmentation?
Unused memory between allocated partitions in contiguous allocation.
What is Segmentation in memory management?
Memory divided into logical segments like code, data, stack.
What is Paging in OS?
Divides memory into fixed-size pages and frames to remove external fragmentation.
What does a Page Table do?
Maps logical pages to physical frames.
What is Virtual Memory?
Extends RAM using disk space; allows large programs to run.
What is Demand Paging?
Loads a page only when it is needed.
Name 3 Page Replacement Algorithms.
FIFO, LRU, Optimal.
What is File System Structure?
Organizes and stores data in files and directories.
Name 3 File Access Methods.
Sequential, Direct, Indexed.
Name 3 Directory Structures.
Single-level, Two-level, Tree (Hierarchical).
What is Disk Structure?
Disk is divided into sectors and tracks; must be formatted.
Name 3 File Allocation Methods.
Contiguous, Linked, Indexed.
What does Disk Scheduling do?
Decides the order in which disk I/O requests are served.
Name 4 Disk Scheduling Algorithms.
FCFS, SSTF, SCAN, LOOK.