HOW TO FIND LOGICAL ADDRESS AND PHYSICAL ADDRESS?


LOGICAL ADDRESS WHICH IS GENERATED BY CPU.

PHYSICAL ADDRESS WHICH IS GENERATED BY MEMORY UNIT.

 

 

EXAMPLE

A memory management system has 64 pages with 512 bytes page size. Physical memory consists of 32 page frames. Number of bits required in logical and physical address are respectively:
(A) 14 and 15
(B) 14 and 29
(C) 15 and 14
(D) 16 and 32

 

Solution:

LAS= 64*512 Bytes
= 2^15
LA= 15 bits
PAS= 32*512 Bytes
= 2^14
PA= 14 bits
Ans: (C)

Leave a comment