Question 35

Computer Awareness Memory Management Easy

Details of a paging system for memory management are as follows $$ \text{ Logical address space: 32 KB } $$ $$ \text{Page Size: 4 KB } $$ $$ \text{ Physical Memory size: 64 KB } $$ The number of pages in the logical address space and number of page frames in physical memory, respectively, are

(A) 4, 16
(B) 4, 12
(C) 8, 16
(D) 3, 16
View Dynamic Solution & Explanation
Correct Solution: Option C

Step-by-step Solution:

Solution:

We are given:

$$ \text{Logical address space} = 32 \text{ KB}, \quad \text{Page Size} = 4 \text{ KB}, \quad \text{Physical Memory size} = 64 \text{ KB} $$


Step 1: Number of pages in logical address space

The number of pages is given by:

$$ \text{Number of pages} = \frac{\text{Logical Address Space}}{\text{Page Size}} $$

Substituting values:

$$ \frac{32 \ \text{KB}}{4 \ \text{KB}} = 8 $$

So, there are 8 pages.


Step 2: Number of page frames in physical memory

The number of page frames is given by:

$$ \text{Number of frames} = \frac{\text{Physical Memory Size}}{\text{Page Size}} $$

Substituting values:

$$ \frac{64 \ \text{KB}}{4 \ \text{KB}} = 16 $$

So, there are 16 page frames.


Final Answer:

The number of pages in the logical address space and the number of page frames in the physical memory are:

$$ (8, \ 16) $$

Hence, the correct option is Option C.