In a system with a page size of 4 KB and a physical address space of 64 GB,…

2024

In a system with a page size of 4 KB and a physical address space of 64 GB, what is the number of bits required for the page offset?

Answer: B. 12 bitsTo find the number of bits required for the page offset, we use the formula: Number of bits for page offset = log₂(page size in bytes) Given: Page size = 4 KB…

  1. A.

    10 bits

  2. B.

    12 bits

  3. C.

    14 bits

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 508 students.

Show answer & explanation

Correct answer: B

To find the number of bits required for the page offset, we use the formula:

Number of bits for page offset = log₂(page size in bytes)

Given: Page size = 4 KB = 4 × 1024 = 4096 bytes

So, log₂(4096) = 12

Therefore, 12 bits are required for the page offset.

हिन्दी उत्तर:

पेज ऑफसेट के लिए आवश्यक बिट्स की संख्या निकालने के लिए, हम निम्न सूत्र का उपयोग करते हैं:

पेज ऑफसेट के लिए बिट्स की संख्या = log₂(पेज आकार बाइट में)

दिया गया है: पेज आकार = 4 KB = 4 × 1024 = 4096 बाइट

तो, log₂(4096) = 12

इसलिए, पेज ऑफसेट के लिए 12 बिट आवश्यक हैं।

Explore the full course: Hpsc Pgt Computer Science

Loading lesson…