Memory Management Quiz (2)

Memory Management Quiz (2)

Test your knowledge about memory management in operating systems with this 12-question quiz.

published on January 30
1/12

What is the purpose of memory management?

What is the purpose of memory management?
To allocate and manage computer memory effectively.
To control peripheral devices in an operating system.
To optimize processor utilization in a computer system.
2/12

Which one of the following is not an advantage of dynamic memory allocation?

Which one of the following is not an advantage of dynamic memory allocation?
Efficient memory utilization.
Flexibility in memory allocation.
Static allocation of memory.
3/12

What is fragmentation in memory management?

What is fragmentation in memory management?
The division of memory into small, non-contiguous blocks.
The organization of memory into continuous blocks.
The allocation of memory to different processes simultaneously.
4/12

Which memory management technique swaps entire processes in and out of main memory?

Which memory management technique swaps entire processes in and out of main memory?
Paging
Segmentation
Fragmentation
5/12

What is the purpose of a memory management unit (MMU)?

What is the purpose of a memory management unit (MMU)?
To translate virtual addresses to physical addresses.
To manage the allocation of memory to processes.
To provide secondary storage for memory overflow.
6/12

In which memory management scheme is the memory divided into fixed-size partitions for allocation?

In which memory management scheme is the memory divided into fixed-size partitions for allocation?
Paging
Fragmentation
Fixed partitioning
7/12

What is the optimal replacement algorithm used in page replacement policies?

What is the optimal replacement algorithm used in page replacement policies?
FIFO (First In, First Out)
LRU (Least Recently Used)
FIFO (First In, Last Out)
8/12

Which one of the following is an advantage of using demand paging?

Which one of the following is an advantage of using demand paging?
Reduced context switching overhead.
Reduced memory fragmentation.
Reduced memory wastage.
9/12

Which memory management technique supports sharing of code and data segments among multiple processes?

Which memory management technique supports sharing of code and data segments among multiple processes?
Segmentation
Paging
Fragmentation
10/12

What is the purpose of virtual memory?

What is the purpose of virtual memory?
To provide an illusion of a larger memory than physically available.
To allocate memory to processes efficiently.
To manage memory shared among multiple processes.
11/12

Which one of the following is a disadvantage of using dynamic partitioning for memory allocation?

Which one of the following is a disadvantage of using dynamic partitioning for memory allocation?
High memory utilization due to fixed-size partitions.
External fragmentation.
Inability to allocate memory to multiple processes simultaneously.
12/12

What is the main purpose of the buddy memory allocation algorithm?

To allocate and deallocate memory in power-of-two sizes.
To optimize the usage of memory buffers.
To manage memory access permissions for different processes.