RpagmEsysemwiuanA SBSJDDPJPJIEOIIOSUOUIOdUOEMMOUBUJEDIEOIIOSLO-
decimal) with its contents as shown in Table 1 need to be mapped to an Y-bytes of physical memory based on the complete 2 entries for a page table shown in Table 2. Assume that each entry size is 2-bytes and the physical memory size is 2 frames. Answer the following questions.
Table 1:
Logical Address 0
Content B
Page #
Frame# 10 8 5 13
Table 2:
Page #
Frame#
2
A
D
G
K
8
-
19
20
c
F
(a) Calculate the page size of the logical memory in bytes? [2]
(b) Calculate the size of X and Y. Show your working. [4]
(c) Calculate the number of bits that will be used for the page number in logical memory address and frame number in physical memory address? [4]
(d) What will be the contents of frame 5? Justify your answer. [3]
(e) Given the page number and the offset as 1:10 for logical address, calculate the physical address. [4]
(f) Calculate the logical address (decimal) given a physical address as 100101102. Show your working. [4]