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 16–20 of 67

Q16GATE 2021 (Session 2)2 marksNAT
Consider a three-level page table to translate a 39-bit virtual address to a physical address as shown below:
39-bit virtual address Level 1offset Level 2offset Level 3offset Pageoffset 9 bits9 bits9 bits12 bits
The page size is 4 KB = (1KB =2102^{10} bytes) and page table entry size at every level is 8 bytes. A process P is currently using 2 GB (1 GB =2302^{30} bytes) virtual memory which is mapped to 2 GB of physical memory. The minimum amount of memory required for the page table of P across all levels is _________ KB

Q17GATE 20201 markMCQ−0.33 if wrong
Consider allocation of memory to a new process. Assume that none of the existing holes in the memory will exactly fit the process's memory requirement. Hence, a new hole of smaller size will be created if allocation is made in any of the existing holes. Which one of the following statement is TRUE?

Q18GATE 20202 marksNAT
Consider a paging system that uses 1-level page table residing in main memory and a TLB for address translation. Each main memory access takes 100 ns and TLB lookup takes 20 ns. Each page transfer to/from the disk takes 5000 ns. Assume that the TLB hit ratio is 95%, page fault rate is 10%. Assume that for 20% of the total page faults, a dirty page has to be written back to disk before the required page is read from disk. TLB update time is negligible. The average memory access time in ns (round off to 1 decimal places) is ___________

Q19GATE 20192 marksMCQ−0.67 if wrong
Assume that in a certain computer, the virtual addresses are 64 bits long and the physical addresses are 48 bits long. The memory is word addressable. The page size is 8kB and the word size is 4 bytes. The Translation Look-aside Buffer (TLB) in the address translation path has 128 valid entries. At most how many distinct virtual addresses can be translated without any TLB miss?

Q20GATE 20181 markMCQ−0.33 if wrong
Consider a process executing on an operating system that uses demand paging. The average time for a memory access in the system is M units if the corresponding memory page is available in memory, and D units if the memory access causes a page fault. It has been experimentally measured that the average time taken for a memory access in the process is X units.
Which one of the following is the correct expression for the page fault rate experienced by the process?

Keep practising

Topics in Operating System

All CS topics ›