GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Which of the following statements about caches are correct? I. A dirty bit lets a write-back cache avoid writing unmodified blocks back to memory. II. A fully associative cache never has a higher miss count than a direct-mapped cache of the same size on any trace. III. Increasing the block size always lowers the miss rate. IV. In an infinite cache only compulsory misses occur.
- A. I and II only
- B. I and IV only
- C. II and III only
- D. I, II and IV only
Correct answer: B. I and IV only
II is false (LRU on a cyclic trace can lose to direct-mapped), III is false (larger blocks raise conflict misses and miss penalty past a point). I and IV are correct.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A cache has hit time 2 ns, hit ratio 0.9 and the memory access time is 60 ns. Compare the access time in the hierarchical organisation…
- A loop executes for (i = 0; i < n; i++) sum += a[i]; with a large array a. Which memory access pattern shows strong spatial locality but…
- An instruction mix is: ALU 45% (CPI 1), loads 25% (CPI 2), stores 10% (CPI 2), branches 20% (CPI 3). A compiler optimisation deletes one…
- How many distinct finite non-zero IEEE 754 single-precision numbers x satisfy 1 ≤ x < 4?
- An 8-bit ALU computes 0x50 − 0xB0 by adding 0x50 to the two's complement of 0xB0. What are the result and the signed-overflow flag V?
- A processor has a 64-entry fully associative TLB, 4 KB pages, and a data cache of 512 KB. A program sweeps through an array of 1 MB…