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 launch goes 120 km with the current in 6 hours. For the same trip against the current, it needs 4 hours more. What’s the speed of the boat in still wat...
The speed ratio of a stream to the upstream speed of a boat is 1:9. A boat takes 2 hours and 30 minutes to travel 82.5 km downstream. Determine the time...
Speed of a boat in still water is 10 kmph and speed of stream is 6 kmph. A man rows to a place at a distance of 32 km and come back to starting point. T...
The speed of a boat in still water is 9 km/hr and speed of current is 5 km/hr. If time taken to cover a certain distance upstream is 14 hours, then how ...
The total time taken by a boat to cover a certain distance in downstream and the same distance in upstream is 10 hours. The same boat can cove...
The speed of the stream is 15 km/h. Boat ‘A’ covers 100 km distance against the stream in 4 hours and boat ‘B’ covers 90 km distance against the...
A boat can cover 180 km in downstream in 18 hours and 125 km in upstream in 5 hours. Find the distance travelled by the boat in still water in 10 hours.
Speed of boat in downstream is 45% more than speed of boat in still water. If speed of stream is 9 km/h, then find the time taken by the boat to cover 8...
A boat covers 144 km upstream and 192 km downstream in equal durations. If it takes 5 hours to travel 140 km in still water, determine the time the boat...
- A boat takes a total of 6 hours to travel 45 km downstream and 30 km upstream. In another scenario, the same boat takes 8 hours to cover 60 km upstream and...