Discussion
A memory management system has 64 pages with page size of 512 bytes. Physical memory consists of 32 page frames. Number of bits required in logical and physical address are respectively :
Answer: C
The logical and physical addresses need 15 and 14 bits.
\[ \begin{aligned} \text{logical space} &= 64 \times 512 = 2^{6} \times 2^{9} = 2^{15} \\ \text{physical space} &= 32 \times 512 = 2^{5} \times 2^{9} = 2^{14} \end{aligned} \]
So a logical address needs 15 bits (6 for the page number and 9 for the offset) and a physical address 14 bits (5 for the frame number and 9 for the offset).
Option A reverses the two. 29 and 32 come from multiplying or adding the wrong quantities rather than taking logarithms.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development