Memory Management Quiz

Memory Management Quiz

Test your knowledge on memory management in operating systems with this quiz!

published on October 22, 2023
1/11

Which memory management technique allows processes to be confined to a specific region of memory?

Which memory management technique allows processes to be confined to a specific region of memory?
Demand Paging
Swapping
Segmentation
Paging
2/11

Which of the following is not a benefit of using virtual memory?

Which of the following is not a benefit of using virtual memory?
Increased system stability
Ability to run larger programs
Protection of memory spaces
Reduced memory access speed
3/11

The process of copying the entire process image into the swap space is called:

The process of copying the entire process image into the swap space is called:
Swapping
Segmentation
Demand Paging
Page Replacement
4/11

Which memory allocation algorithm divides memory into fixed-sized partitions to accommodate processes?

Which memory allocation algorithm divides memory into fixed-sized partitions to accommodate processes?
First-Fit
Best-Fit
Buddy System
Fixed Partitioning
5/11

Which technique allows the execution of a program which is only partially in memory?

Which technique allows the execution of a program which is only partially in memory?
Contiguous allocation
Paging
Swapping
Fragmentation
6/11

Which of the following is a disadvantage of the Best-Fit memory allocation algorithm?

Which of the following is a disadvantage of the Best-Fit memory allocation algorithm?
Increased external fragmentation
Memory can only be allocated in fixed-size partitions
High overhead in searching for a suitable partition
Process thrashing due to insufficient memory
7/11

Which statement is true regarding the buddy system for memory allocation?

Which statement is true regarding the buddy system for memory allocation?
It is based on the concept of fixed partitioning
It reduces external fragmentation
It is a dynamic storage allocation algorithm
It eliminates the need for page replacement
8/11

Which page replacement algorithm suffers from the Belady's anomaly?

Least Recently Used (LRU)
First-In, First-Out (FIFO)
Clock
Optimal
9/11

Which technique divides the physical memory into fixed-sized blocks and uses a bitmap to track allocation?

Paging
Buddy System
Fragmentation
Segmentation
10/11

Which memory management technique uses secondary memory as an extension of main memory?

Which memory management technique uses secondary memory as an extension of main memory?
Demand Paging
Swapping
Virtual Memory
Fragmentation
11/11

Which statement is true regarding internal fragmentation?

Which statement is true regarding internal fragmentation?
It occurs when processes remain in memory for too long
It is caused by inefficient memory allocation techniques
It can be eliminated by using segmentation
It results in external fragmentation