Skip to content
GATEiit

GATE CSE 2019 Q43: Virtual addresses translatable without a TLB miss with 128 TLB entries

Syllabus topic: Memory management and virtual memory

Question

Assume that in a certain computer, the virtual addresses are 64 bits long and the physical addresses are 48 bits long. The memory is word addressible. The page size is 8 kB and the word size is 4 bytes. The Translation Look-aside Buffer (TLB) in the address translation path has 128 valid entries. At most how many distinct virtual addresses can be translated without any TLB miss?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: B (official GATE 2019 final answer key)

Concept used: Each valid TLB entry maps one whole page, so the addresses covered without a miss = number of entries × addresses per page; with word addressing, addresses per page = page size ÷ word size.

Concept notes

Loading notes…

First step: Work out how many word addresses one 8 kB page holds when each address names a 4-byte word, then multiply by the 128 TLB entries.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Memory management and virtual memory

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key