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.
A train crosses a bridge in 15 secs while it crosses a man standing on a platform in 8 secs. If the speed of train 108 km/hrs, then what will be the ti...
- Two stations P and Q are 486 km apart. A train leaves P at 6:45 a.m. at 54 km/h. Another train leaves Q at 8:15 a.m. towards P at 81 km/h. When will they m...
Two trains running at the rates of 108 and 90 kmph respectively, On parallel rails in opposite directions, are observed to pass each other in 24 secon...
'Pritampur' and 'Kanpur' divide by (d - 100) km, while 'Kanpur' and 'Delhi' are distanced by (d + 150) km. Between the stations of Pritampur and Kanpur,...
Train 'E' leaves at 9:00 PM on Wednesday from Kolkata station and reaches Bangalore station at 11:00 AM the next day, while train 'F' leaves at 8:30 PM ...
A train can cross a pole, a bridge of 600 meter long and platform of 480 meter long in 14 seconds, _____ seconds and 30 seconds, respectively.
Th...
Train P travelling at 55 km/hr crosses another train Q, having three fourth of its length and travelling in opposite direction at 35 km/hr in 14 seconds...
Time is taken by two trains running in opposite directions to cross a man standing on the platform in 28 seconds and 16 seconds respectively. It took 24...
Train A running at a speed of 48 km/hr crosses train B in 20 seconds. Find the speed of train B (in km/hr), if the sum of the length of train A and B is...
A train whose speed is 40 m/s crosses a bridge in 20 seconds. Another train which is 80m shorter than the first train crosses the same bridge at the sp...