GATE CS 2015 Set 1 — Question 34

Multiple choice 2 marks Question 34 2015

Question 34

Consider a machine with a byte addressable main memory of \(2^{20}\) bytes, block size of 16 bytes and a direct mapped cache having \(2^{12}\) cache lines. Let the addresses of two consecutive bytes in main memory be \((\text{E}201\text{F})_{16}\) and \((\text{E}2020)_{16}\). What are the tag and cache line address (in hex) for main memory address \((\text{E}201\text{F})_{16}\)?

Answers and explanations are free — they just need an account.

Where this question comes from

Source: GATE 2015 Computer Science and Information Technology, Set 1 (question number approximate)