Suppose a logical address space of 32 pages of 2048 words. There are 64 frames in the main memory. According to given information calculate the various parameters related to paging.

Calculate the size of Logical Address? Calculate the size of Physical Address?

  • 1
    $\begingroup$ Try to plug in the numbers in the formulas. Even better, try to understand the question and answer it even without the formulas. $\endgroup$ – Yuval Filmus Jan 29 '17 at 18:41

logical address space contains 32 pages and to represent 32 pages we need 5 bits (2^5=32) and each page contains 2048 words therefore the offset or "d" parameter can be represented by 11 bits (2^11=2048). So total number of bits to represent logical address = 5+11=16 bits. Similarly 64 frames can be represented by 6 bits (2^6=64) and offset will be same i.e. 11 bits. So total number of bits to represent physical address= 6+11=17 bits.

| cite | improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.