Memory Management questions

Q11

GATE CS 2020 CSMemory ManagementMCQ1 mark−1/3 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 statements is TRUE?
Show answer without attempting

Answer: C

Q53

GATE CS 2020 CSMemory ManagementNAT2 marks
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 in from disk. TLB update time is negligible. The average memory access time in ns (round off to 1 decimal places) is __________.
Show answer without attempting

Answer: 154.5 to 155.5

0/20 correct0 marks

Related topics in Operating Systems