Computer AwarenessVery hardIBPS SO IT · IBPS PO Mains

A system uses 32-bit virtual addresses and a page size of 4 KB. How many bits of the address form the page number and how many the offset within the page?

  1. A. 20-bit page number, 12-bit offset
  2. B. 12-bit page number, 20-bit offset
  3. C. 22-bit page number, 10-bit offset
  4. D. 24-bit page number, 8-bit offset

Correct answer: A. 20-bit page number, 12-bit offset

4 KB = 2¹² bytes, so 12 bits are needed for the offset; the remaining 32 − 12 = 20 bits give the page number (2²⁰ pages).

हिंदी में

एक प्रणाली 32-बिट वर्चुअल पते और 4 KB के पेज आकार का प्रयोग करती है। पते के कितने बिट पेज संख्या बनाते हैं और कितने पेज के भीतर ऑफ़सेट?

  1. A. 20-बिट पेज संख्या, 12-बिट ऑफ़सेट
  2. B. 12-बिट पेज संख्या, 20-बिट ऑफ़सेट
  3. C. 22-बिट पेज संख्या, 10-बिट ऑफ़सेट
  4. D. 24-बिट पेज संख्या, 8-बिट ऑफ़सेट

उत्तर: A. 4 KB = 2¹² बाइट, इसलिए ऑफ़सेट के लिए 12 बिट चाहिए; शेष 32 − 12 = 20 बिट पेज संख्या देते हैं (2²⁰ पेज)।

More Computer Awareness questions

Exams that ask this topic