Test No 4 Os HPSC Subjective
Test No 4 Os HPSC Subjective
Q – 4: (i) A Memory management having 64 pages with 512 byte page size.
Physical memory consist of 32 page frames. What is the number of bits
required in logical and physical address respectively? 3 marks
(ii) For the following page reference string 4,3,2,1,4,3,5,4,3,2,1,5 the number
of page faults that occur in least recently used (LRU) page replacement
algorithm with 3 page frame is ________. Show all steps. 4 marks
(iii) What do you mean by Belady’s Anomaly . Show with the help of example.
3 marks
Q – 5: (i) Given memory access time as p nanoseconds and additional q
nanoseconds for handling the page fault. What is the effective memory
access time if a page fault occurs once for every 100 instructions? 4 marks
(ii) Consider a system which has MM access time is 100 nsec and TLB access
time is 20 nsec and TLB hit ratio is 95%. Then what is the effective memory
access time with TLB and without TLB? 3+3 marks
(ii) What is the size of page table for handling the virtual address space
, given that each page table entry is of size 2 bytes? 2 marks
(iii) What is the number of bits needed for the physical address? 2
marks
(iv) The number of bits reserved for the frame offset is _______. 2
marks
(v) Find number of pages for given virtual address space? 2marks