A computer has 128 MB memory. Each word in this computer is of 8 bytes. How…

2018

A computer has 128 MB memory. Each word in this computer is of 8 bytes. How many bits are required to address any single word in the memory?

Answer: B. 241 MB = 2^20 bytes. 128 MB = 128 × 2^20 = 2^7 × 2^20 = 2^27 bytes. Size of one word = 8 bytes = 2^3 bytes. Number of words = total bytes ÷ bytes per word =…

  1. A.

    27

  2. B.

    24

  3. C.

    23

  4. D.

    25

Attempted by 1075 students.

Show answer & explanation

Correct answer: B

1 MB = 2^20 bytes.

128 MB = 128 × 2^20 = 2^7 × 2^20 = 2^27 bytes.

Size of one word = 8 bytes = 2^3 bytes.

Number of words = total bytes ÷ bytes per word = 2^27 ÷ 2^3 = 2^24 words.

Bits required to address each word = log2(number of words) = log2(2^24) = 24 bits .

Answer: 24 bits. हिंदी में संक्षेप में: 128 MB = 2^27 bytes।

प्रत्येक word = 8 bytes = 2^3 bytes। इसलिए words की संख्या = 2^27

Explore the full course: Up Lt Grade Assistant Teacher 2025

Loading lesson…