Thursday 21 September 2017

Cache Miss and Hit

Computer Organization Questions and Answers – Cache Miss and Hit

This set of Computer Organisation and Architecture MCQ 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 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 above
View Answer
Answer:b
Explanation: To implement parallelism in data access we use interleaving.
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 a important factor in performance measurement.
5. The number failed attempts to access memory, stated in the form of 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 key factor in deciding the type of replacement algorithm.
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 requiered is not present in the cache.
7. In LRU, the refrenced blocks counter is set to’0′ and that of the previous blocks are incremented by one and others remain same, in case of ______.
a) Hit
b) Miss
c) Delay
d) None of the above
View Answer
Answer:a
Explanation: If the referenced block is present in the memory it is called as hit.
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 above
View Answer
Answer:c
Explanation: None.
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.

No comments:

Post a Comment