GATE CS 2015, set 3 · Question 34 · Computer Organization and Architecture · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Consider a machine with a byte addressable main memory of 2²⁰ bytes, block size of 16 bytes and a direct mapped cache having 2¹² cache lines. Let the addresses of two consecutive bytes in main memory be (E201F)₁₆ and (E2020)₁₆. What are the tag and cache line address (in hex) for main memory address (E201F)₁₆?

  1. (A) E, 201
  2. (B) F, 201
  3. (C) E, E20
  4. (D) 2, 01F
Answer

Answer (A)

Answer from the official GATE CS 2015 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes