Memory Management Quiz (1) Test your knowledge on memory management techniques used in operating systems. alina90 published on December 08, 2023 Stacked 1/10 Which technique allows processes to share a portion of the physical memory? Paging Segmentation Virtual memory Thrashing 2/10 What is the purpose of the Memory Management Unit (MMU) in a computer system? To allocate disk space for virtual memory To allocate physical memory to processes To provide protection against unauthorized access to memory To handle page faults in virtual memory 3/10 Which memory allocation algorithm suffers from external fragmentation? First-Fit Best-Fit Worst-Fit Next-Fit 4/10 What is a page fault in the context of memory management? A frame of physical memory is not available for allocation A process tries to access a page that is not in main memory The TLB (Translation Lookaside Buffer) needs to be updated A process exceeds its maximum allowed memory usage 5/10 Which algorithm is used for page replacement in the FIFO (First-In, First-Out) strategy? Least Recently Used (LRU) Optimal Replacement Random Replacement None of the above 6/10 What is the purpose of demand paging in virtual memory management? To reduce disk I/O operations To allow processes to share memory To allocate physical memory efficiently To bring pages into physical memory only when needed 7/10 Which memory management technique uses fixed-size partitions? Paging Segmentation Buddy System Swapping 8/10 What is the role of the TLB (Translation Lookaside Buffer) in memory management? To cache recently used CPU instructions To map virtual addresses to physical addresses To translate high-level code into machine code To buffer disk I/O operations for increased efficiency 9/10 What is the purpose of compaction in memory management? To optimize CPU scheduling To reduce disk I/O latency To remove unnecessary processes from memory To reduce external fragmentation 10/10 Which algorithm is used for page replacement in the LRU (Least Recently Used) strategy? Optimal Replacement FIFO (First-In, First-Out) Random Replacement None of the above