Professional Documents
Culture Documents
OS_Unit-4_Assignment
OS_Unit-4_Assignment
LAST DATE OF SUBMISSION: 05-07-2024 (After due date no assignment will be accepted
for evaluation)
Note: Attempt the entire question in a separate register only.
1) Consider a logical address space of eight pages of 1024 words, each mapped onto a physical memory
of 32 frames then :
i. How many bits are in a logical address?
ii. How many bits are in a physical address?
3) On a system using paging and segmentation the virtual address space consists of up to 16 segments
where each segment can be up to 216 bytes long. The hardware pages each segment upto 512 byte
pages. How many bits in the virtual address specify the following?
i. Segment Number
ii. Page Number
iii. Offset with in page
iv. Entire virtual address
4) Consider the following reference string 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6. How many page faults
will occur for:
i. FIFO
ii. LRU Page Replacement Algorithm
Assuming three and four frames in each case and frames are initially.