Question
Which of the following statements best describes the
role of cache memory in a computer's memory hierarchy?Solution
Cache memory is a small, high-speed storage located close to or within the CPU. Its primary purpose is to temporarily store frequently accessed data and instructions, reducing the time it takes for the CPU to access main memory. • Why cache memory is critical: Cache bridges the speed gap between the CPU and slower memory systems. By storing copies of frequently used data, it minimizes latency and enhances processing efficiency. The use of cache levels (L1, L2, and L3) ensures optimal performance for different workloads. For example, when a CPU processes a loop in a program, the loop instructions are repeatedly fetched. Without cache, the CPU would access the slower main memory every time, slowing down execution. ________________________________________ Why Other Options Are Incorrect: 1. Backup storage for the main memory: Cache is temporary and volatile, unlike backup storage, which is typically non-volatile. 2. Permanent data storage: Cache memory is volatile and cannot retain data after the system is powered off. 3. Facilitates communication between CPUs: Inter-CPU communication is handled by shared memory or interconnects like buses, not by cache memory. 4. Exclusive for storing user-defined variables: Cache stores both program instructions and data, not just user-defined variables.
- Five boxes F, G, H, I, J are kept one above the other but not in the same order). Only one box is kept between the box H and G. Box F is kept just above th...
Who among the following person stays on flat no. 2 of floor no. 5?
Which of the following pair born in the same month?
Which of the following combination is correct?
Which of the following exam held on Thursday?
Who among the following person goes on 17th March?Â
Statements:
D ≤ E > I; Q ≤ I ≤ W; F = W ≥ Y
Conclusions:
I. E > Q
II. F ≥ I
- Six persons (F, G, H, I, J, and K) live on different floors of a six-floor building. The bottommost floor is numbered as 1 and the topmost floor is numbere...
Which of the following statements is/ are true regarding H?
- Seven students P, Q, R, S, T, U, and V, attend classes of seven subjects on different days of the week starting from Monday. V attends Biology class on Tue...