Reference no: EM133187286
Operating system
Question 1:
Suppose that we have freesegment swithsizes:6,17,25,14,and19. Place a program with size 13kB in the free segment using first-fit, best-fit and worst fit?
Question 2:
Consider a user program of logical address of size 6 pages and page size is 4 bytes. The physical address contains 300 frames. The user program consists of 22 instructions a, b, c, . . . u, v . Each instruction takes 1 byte. Assume at that time the free frames are 7, 26, 52, 20, 55, 6, 18, 21, 70, and 90.
Find the following?
Draw the logical and physical maps and page tables?
Allocate each page in the corresponding frame?
Find the physical addresses for the instructions m, d, v, r?
Calculate the fragmentation if exist?
Question 3:
Discuss the paging and segmentation memory management techniques along with the advantages and disadvantages.