Technique to implement virtual memory where memory is divided into uni...
Answer : a)Paging
- Technique to implement virtual memory where memory is divided into units of fixed size memory is Paging.
- The most common way of allocating memory to processes in modern operating systems is a type of non-contiguous allocation called paging
View all questions of this test
Technique to implement virtual memory where memory is divided into uni...
Paging as a Technique to Implement Virtual Memory
Virtual memory is a memory management technique that allows a computer to use more memory than it physically has available. When the physical RAM is full, the computer moves some of the less-used data from the RAM to the hard disk, freeing up space in the RAM for more important data. Paging is one of the techniques used to implement virtual memory in modern operating systems.
Definition of Paging
Paging is a memory management technique where the physical memory is divided into equal-sized chunks called pages. Each page is of the same size, typically 4KB or 8KB. The size of a page is fixed and does not change during the runtime of the program.
Working of Paging
When a program is executed, the operating system assigns it a certain number of pages in the physical memory. Each page is numbered sequentially, starting from 0. The program's data is stored in these pages.
When the memory is full and the program needs more memory, the operating system moves some of the less-used pages to the hard disk. These pages are stored in a special file called the swap file or page file.
When the program needs to access a page that is not in the physical memory, the operating system retrieves it from the hard disk and loads it into the physical memory. This process is called a page fault.
Advantages of Paging
- Paging allows the computer to use more memory than it has physically available.
- It provides a more efficient use of memory by storing less-used pages on the hard disk.
- It allows different programs to share the physical memory without interfering with each other.
Conclusion
Paging is an efficient technique to implement virtual memory in modern operating systems. It divides the physical memory into equal-sized chunks called pages, allowing the computer to store more data than it has physically available. When the physical memory is full, it moves some of the less-used pages to the hard disk, freeing up space in the physical memory for more important data.
Technique to implement virtual memory where memory is divided into uni...
Technique to implement virtual memory where memory is divided into units of fixed size memory is Paging.
So Option A is correct
To make sure you are not studying endlessly, EduRev has designed Banking Exams study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Banking Exams.