Memory Hierarchy questions

Q24

GATE CS 2022 CSMemory HierarchyMSQ1 mark
Let WB and WT be two set associative cache organizations that use LRU algorithm for cache block replacement. WB is a write back cache and WT is a write through cache. Which of the following statements is/are FALSE?
More than one option can be correct.
Show answer without attempting

Answer: A, B, D

Q33

GATE CS 2022 CSMemory HierarchyNAT1 mark
A cache memory that has a hit rate of 0.8 has an access latency 10 ns and miss penalty 100 ns. An optimization is done on the cache to reduce the miss rate. However, the optimization results in an increase of cache access latency to 15 ns, whereas the miss penalty is not affected. The minimum hit rate (rounded off to two decimal places) needed after the optimization such that it should not increase the average memory access time is _____________.
Show answer without attempting

Answer: 0.85

Q40

GATE CS 2022 CSMemory HierarchyMCQ2 marks−2/3 if wrong
Consider a digital display system (DDS) shown in the figure that displays the contents of register XX. A 16-bit code word is used to load a word in XX, either from SS or from RR. SS is a 1024-word memory segment and RR is a 32-word register file. Based on the value of mode bit MM, TT selects an input word to load in XX. PP and QQ interface with the corresponding bits in the code word to choose the addressed word.

Which one of the following represents the functionality of PP, QQ, and TT?
Question figure
Show answer without attempting

Answer: C

Q54

GATE CS 2022 CSMemory HierarchyMSQ2 marks
Consider a system with 2 KB direct mapped data cache with a block size of 64 bytes. The system has a physical address space of 64 KB and a word length of 16 bits. During the execution of a program, four data words P, Q, R, and S are accessed in that order 10 times (i.e., PQRSPQRS...). Hence, there are 40 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, and S are 0xA248, 0xC28A, 0xCA8A, and 0xA262, respectively. For the execution of the above program, which of the following statements is/are TRUE with respect to the data cache?
More than one option can be correct.
Show answer without attempting

Answer: A, B, D

0/40 correct0 marks

Related topics in Computer Organization and Architecture