IAE Academy

GATE 2026 EC Q.42: solution and answer

GATE 2026 · ECQ.42 · 2 marks · MCQ

The address of the first location of a 256 kilo byte (KB) memory is .

Choose the correct address of the last location of the memory.

  1. (A)

  2. (B)

  3. (C)

  4. (D)

See the question in the paper

Answer and solution

ANSWER

The last location of the 256 KB memory is at . The answer is option (C).

Official answer: CSource: Official answer key, GATE 2026 EC (IIT Guwahati)

  1. Take the memory to be byte-addressable, so each address holds one byte. The number of locations is .

  2. Write the size in hexadecimal. Since and , we get .

  3. A memory of locations that starts at address ends at . The offset of the last location from the first is .

  4. Add this offset to the start address in hexadecimal. Write :

  5. Check: bytes . This is option (C).

KEY IDEA

A byte-addressable block of locations that starts at address occupies to . Here , so the last address is .

WATCH OUT FOR

One mistake is to add the full size, . That is the first address after the memory, so you still have to subtract 1. The other is to write as or instead of ( is only 64 KB). That mistake leads to distractors such as (B) or (D).

From the GATE 2026 EC paper. Every question of this paper · Download the full paper · All 9 Processors & memory questions, with notes

More Processors & memory questions