All Exams Test series for 1 year @ ₹349 only
Question

Read the following and answer the questions :

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.

The number of bits reserved for the frame offset is ______

The correct answer is

12

A frame contains \(4\times 1024=2^{12}\) bytes. Therefore its byte offset requires 12 bits. The 22-bit physical frame number identifies a frame, not a position within it.

Was this answer helpful?

Important Questions from Frame Allocation - Teaching

  1. 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?

  2. Find number of pages required for the given virtual address space

  3. For the machine described in the passage, assume byte addressing and a single-level page table containing one 4-byte entry for every virtual page in the complete 32-bit virtual address space. Each entry includes the physical frame number and control bits. What is the page-table storage size, excluding any additional overhead?

    Use binary units: 1 KB = \(2^{10}\) bytes, 1 MB = \(2^{20}\) bytes, and 1 GB = \(2^{30}\) bytes.

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App