GATE CS 2018 · Question 44 · Computer Organization and Architecture · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
The size of the physical address space of a processor is 2^P bytes. The word length is 2^W bytes. The capacity of cache memory is 2^N bytes. The size of each cache block is 2^M words. For a K-way set-associative cache memory, the length (in number of bits) of the tag field is
- (A) P - N - log₂ K
- (B) P - N + log₂ K
- (C) P - N - M - W - log₂ K
- (D) P - N - M - W + log₂ K
Answer
Answer (B)
Answer from the official GATE CS 2018 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes