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.
- (A)
- (B)
- (C)
- (D)
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.
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)
Take the memory to be byte-addressable, so each address holds one byte. The number of locations is .
Write the size in hexadecimal. Since and , we get .
A memory of locations that starts at address ends at . The offset of the last location from the first is .
Add this offset to the start address in hexadecimal. Write :
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