Computer Science, asked by achyutakrishnan6751, 1 year ago

If the page size is 4 byte and physical memory 16 bytes ,calculate the number of frame thaa it have ?

Answers

Answered by omegads03
3

Given,  

Page size = 4 byte

Physical memory = 16 byte

We know that,

Page size = Frame size

Therefore,

Frame size = 4 byte = 2^2 byte

And therefore, frame offset = 2

Physical memory = 16 byte = 2^4 byte  

Therefore, the physical memory will be of 4 bits.

In the physical memory there are two parts, one is frame number and the other is frame offset.

Therefore,

Frame number = Total physical memory – Frame offset = 4 – 2 = 2 bits

Total number of frames = 2^2 = 4

[There is a pictorial explanation of the physical memory in the below attachment.]

Attachments:
Similar questions