Memory Management questions

Q33

GATE CS 2014 CS-2Memory ManagementMCQ2 marks−2/3 if wrong
A computer has twenty physical page frames which contain pages numbered 101 through 120. Now a program accesses the pages numbered 1, 2, …, 100 in that order, and repeats the access sequence THRICE. Which one of the following page replacement policies experiences the same number of page faults as the optimal page replacement policy for this program?
Show answer without attempting

Answer: D

Q20

GATE CS 2014 CS-3Memory ManagementNAT1 mark
A system uses 3 page frames for storing process pages in main memory. It uses the Least Recently Used (LRU) page replacement policy. Assume that all the page frames are initially empty. What is the total number of page faults that will occur while processing the page reference string given below?

4,7,6,1,7,6,1,2,7,24, 7, 6, 1, 7, 6, 1, 2, 7, 2
Show answer without attempting

Answer: 6

Q33

GATE CS 2014 CS-3Memory ManagementNAT2 marks
Consider a paging hardware with a TLB. Assume that the entire page table and all the pages are in the physical memory. It takes 10 milliseconds to search the TLB and 80 milliseconds to access the physical memory. If the TLB hit ratio is 0.6, the effective memory access time (in milliseconds) is _________.
Show answer without attempting

Answer: 122

Q33

GATE CS 2014 CS-1Memory ManagementNAT2 marks
Assume that there are 3 page frames which are initially empty. If the page reference string is 1, 2, 3, 4, 2, 1, 5, 3, 2, 4, 6, the number of page faults using the optimal replacement policy is__________.
Show answer without attempting

Answer: 7

0/40 correct0 marks

Related topics in Operating Systems