AExE02 · Chapter 2Programming & Applications🏛️ Past Licensure QuestionID: c9904daf
In a 32-bit virtual memory computer architecture with 4 KB pages, a Translation Lookaside Buffer (TLB) entry storing the virtual page number (tag) uses how many tag bits?
In a 32-bit virtual memory computer architecture with 4 KB pages, a Translation Lookaside Buffer (TLB) entry storing the virtual page number (tag) uses how many tag bits?
Multiple Choice Options
- A
12 bits
- B
15 bits
- C✓ Correct Option
20 bits
- D
32 bits
Detailed Technical Solution & Explanation
With a 32-bit virtual address and 4 KB ( bytes) page size, the lower 12 bits represent the page offset. The remaining upper bits form the Virtual Page Number (VPN) used as the tag in a fully associative TLB lookup. (Note: in a 128-set cache, bits are used for index, leaving bits for tag; across typical licensing multiple choice, 20 or full 32-bit words are standardized).
Option Analysis:
•
Option A (12 bits): Page offset size.
•
Option B (15 bits): Non-standard offset.
•
Option C (20 bits): Correct. bits for the Virtual Page Number.
•
Option D (32 bits): Full virtual address size.
Reference: Demo2 · Set 2NEC Licensure Syllabus