Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Consider a machine with $16\ GB$ main memory and $32$-bits virtual address space, with page size as $4KB$. Frame size and page size is same for the given machine.

 If a process of size $34KB$ is to be executed on this machine, then what will be the size of internal fragmentation for this process?





Solution

Page size $=4KB$

Process size $=34KB$

Number of pages required:

$\left\lceil\frac{34}{4}\right\rceil=\lceil8.5\rceil=9$

Total allocated memory:

$9\times4KB=36KB$

Internal fragmentation:

$36KB-34KB=2KB$


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...