UGC-NET | UGC NET CS 2017 Jan – III | Question 49
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
Answer: (C)
Explanation:
we know that Number of pages = virtual memory space / page size.
and Number of frames = physical memory space / frame size.
and page size is equal to frame size.
According to question and given data:
virtual memory space = Number of pages * page size
i.e. virtual memory space = 64 * 512 B
virtual memory space = 26 * 29B
i.e. = 215B.
So, 15 bits are required for virtual memory space.
physical memory space = Number of frames * frame size.
physical memory space = 32 * 512 B
physical memory space = 25 * 29B
i.e. = 214B.
So, 14 bits are required for virtual memory space.So, option (C) is correct.
Quiz of this Question



