Memory Management: GATE CS Previous Year Questions

Memory Management · Operating System

67 questions · asked in 27 of 27 years (2000–2026)

MCQ 43 · MSQ 4 · NAT 201-mark 36 · 2-mark 31

2000Questions per year2026

Questions 61–65 of 67

Q61GATE 20031 markMCQ−0.33 if wrong
A processor uses 2-level page tables for virtual to physical address translation. Page tables for both levels are stored in the main memory. Virtual and physical addresses are both 32 bits wide. The memory is byte addressable. For virtual to physical address translation, the 10 most significant bits of the virtual address are used as index into the first level page table while the next 10 bits are used as index into the second level page table. The 12 least significant bits of the virtual address are used as offset within the page. Assume that the page table entries in both levels of page tables are 4 bytes wide. Further, the processor has a translation look-aside buffer (TLB), with a hit rate of 96%. The TLB caches recently used virtual page numbers and the corresponding physical page numbers. The processor also has a physically addressed cache with a hit rate of 90%. Main memory access time is 10 ns, cache access time is 1 ns, and TLB access time is also 1 ns.

Assuming that no page faults occur, the average time taken to access a virtual address is approximately (to the nearest 0.5 ns)

Q62GATE 20031 markMCQ−0.33 if wrong
In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because of

Q63GATE 20021 markMCQ−0.33 if wrong
The optimal page replacement algorithm will select the page that

Q64GATE 20011 markMCQ−0.33 if wrong
Consider a machine with 64 MB physical memory and a 32-bit virtual address space. If the page size is 4 KB, what is the approximate size of the page table ?

Q65GATE 20011 markMCQ−0.33 if wrong
Consider a virtual memory system with FIFO page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will.

Keep practising

Topics in Operating System

All CS topics ›