Computer Organization Questions and Answers – Cache Miss and Hit

This set of Computer Organization and Architecture Multiple Choice Questions & Answers (MCQs) focuses on “Cache Miss and Hit”.

1. The main memory is structured into modules each with its own address register called ______
a) ABR
b) TLB
c) PC
d) IR
View Answer

Answer: a
Explanation: ABR stands for Address Buffer Register.

2. When consecutive memory locations are accessed only one module is accessed at a time.
a) True
b) False
View Answer

Answer: a
Explanation: In a modular approach to memory structuring only one module can be accessed at a time.

3. In memory interleaving, the lower order bits of the address is used to _____________
a) Get the data
b) Get the address of the module
c) Get the address of the data within the module
d) None of the mentioned
View Answer

Answer: b
Explanation: To implement parallelism in data access we use interleaving.
advertisement
advertisement

4. The number successful accesses to memory stated as a fraction is called as _____
a) Hit rate
b) Miss rate
c) Success rate
d) Access rate
View Answer

Answer: a
Explanation: The hit rate is an important factor in performance measurement.

5. The number failed attempts to access memory, stated in the form of a fraction is called as _________
a) Hit rate
b) Miss rate
c) Failure rate
d) Delay rate
View Answer

Answer: b
Explanation: The miss rate is a key factor in deciding the type of replacement algorithm.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. In associative mapping during LRU, the counter of the new block is set to ‘0’ and all the others are incremented by one, when _____ occurs.
a) Delay
b) Miss
c) Hit
d) Delayed hit
View Answer

Answer: b
Explanation: Miss usually occurs when the memory block required is not present in the cache.

7. In LRU, the referenced blocks counter is set to’0′ and that of the previous blocks are incremented by one and others remain same, in the case of ______
a) Hit
b) Miss
c) Delay
d) None of the mentioned
View Answer

Answer: a
Explanation: If the referenced block is present in the memory it is called as hit.
advertisement

8. If hit rates are well below 0.9, then they’re called as speedy computers.
a) True
b) False
View Answer

Answer: b
Explanation: It has to be above 0.9 for speedy computers.

9. The extra time needed to bring the data into memory in case of a miss is called as __________
a) Delay
b) Propagation time
c) Miss penalty
d) None of the mentioned
View Answer

Answer: c
Explanation: None.
advertisement

10. The miss penalty can be reduced by improving the mechanisms for data transfer between the different levels of hierarchy.
a) True
b) False
View Answer

Answer: a
Explanation: The extra time needed to bring the data into memory in case of a miss is called as miss penalty.

Sanfoundry Global Education & Learning Series – Computer Organisation and Architecture.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.