Which of the following is used to implement memory protection in an operating…
2025
Which of the following is used to implement memory protection in an operating system ?
- A.
Virtual Memory
- B.
Paging
- C.
Segmentation
- D.
All of these
Attempted by 49 students.
Show answer & explanation
Correct answer: D
Memory protection is a critical function of an operating system that prevents processes from accessing memory regions they do not own. Virtual Memory is a key mechanism here because it creates an illusion of a large, isolated address space for each process, ensuring one program cannot interfere with another. Paging and Segmentation are specific techniques used to implement virtual memory; paging divides memory into fixed-size blocks while segmentation divides it based on logical units like code or data. Both techniques utilize hardware support, such as page tables and segment registers, to enforce access rights and boundaries. Since Virtual Memory provides the overarching framework while Paging and Segmentation are the underlying methods to achieve isolation, all three options contribute directly to memory protection. Therefore, 'All of these' is the correct choice as each listed mechanism plays a vital role in securing memory access.