Professional Documents
Culture Documents
Q 3:
https://www.gatevidyalay.com/beladys-anomaly-page-fault-paging/
Q 4:
Q 5:
Logical Address Space (LAS)= 2048 pagesPage Size = 4 KB = 212Number of Frames
= 512 = 29
Logical Address Space = number of pages * page size = 2048*4KB= 223
As shown above it requires 23 bitsB) Bits required for Physical Address Space =
Number of Frames * (Frame size or Page Size) = 512 * 4 KB = 221 So
we need 21 bits to represent physical addressC) Physical Memory size = 221 = 2 MB
Q 6:
a. 400 nanoseconds: 200 nanoseconds to access the page table and 200
Assignment OS 1
OR
a.
100 ns : 50 ns for accessing page table , 50 ns for accessing the target data in the
memory.
b.
timeavg=0.75∗(50ns+2ns)+0.25∗(2ns+50ns+50ns)=64.5ns
Q 7:
a) physical memory = 2GB = 2*230=231 (1G=230)
Assignment OS 2
logical address bits = 28 bits
The page size is same as the physical pages = 8KB = 23*210=213
Assignment OS 3