Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2022
Questions

Q44

MSQ2 marksComputer organisation

Consider a system with 2  KB2 \;\text{KB} direct mapped data cache with a block size of 64  bytes.64 \; \text{bytes}. The system has a physical address space of 64  KB64 \; \text{KB} and a word length of 16  bits.16 \; \text{bits.} During the execution of a program, four data words P, Q, R,\text{P, Q, R,} and S\text{S} are accessed in that order 1010 times (i.e., PQRSPQRS… ).\text{(i.e., PQRSPQRS}\dots). Hence, there are 4040 accesses to data cache altogether. Assume that the data cache is initially empty and no other data words are accessed by the program. The addresses of the first bytes of P, Q, R,\text{P, Q, R,} and S\text{S} are 0xA248, 0xC28A, 0xCA8A,\text{0xA248, 0xC28A, 0xCA8A,} and 0xA262,\text{0xA262}, respectively. For the execution of the above program, which of the following statements is/are TRUE\text{TRUE} with respect to the data cache?

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.