2. For the following memory layout, draw the resulting layout using the first-fit, best-fit, and worst-fit algorithms if you have process P4 of 112 KB, P5 of 417 KB, P6 of 319 KB, and Hole of 340 KB. P7 of 199 KB appear in that order. Show the resultant holes.
Hole of 500 KB
12
Hole of 140 KB
Hole of 260 KB
3. Calculate the physical address for the following logical addresses <page, offset> with a 4-byte page-based memory allocation having the following page table:
Page # 0 1 2 3
Frame # 5 6 1 2
8
a. <0,0> b. <1,3> c. <3,1> d. <2,4>