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.
The ratio of length and breadth of a rectangular field is 5:9. If the total cost of surrounding it at the rate of Rs 7.50 per meter is Rs 4200, then fin...
If 5th term of an AP is 20 and 10th term is 45, find 25th term.
The sum of 6 consecutive odd numbers is 156. What will be the product of first number and the last number?
24, 29, 62, ?, 758, 3791
...The cost of an item is 'A'. A shopkeeper increases the price by 'x'%, then applies a discount of 'd'% on the increased price. Aft...
Present average age of A, B and C together is 44 years. Age of B is 12 Years hence from now will be 260% more than age of A, Four years ago from now whi...
The marks obtained by 15 students out of a maximum of 25 in a test are given as 13, 11, 16, 15, 18, 12, 13, 14, 10, 22, 21, 20, 17, and 24. Find the sum...
At a certain time in a park, the number of heads and the number of legs of monkeys and human visitors were counted, and it was found that there were 54 ...
The median of the following data will be ___
32,25,33,27,35,29,14,26 and 30.
Find the mean of the given data set:
7, 11, 9, 13, 15, 10