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.
In a village, the average rainfall for the first four days of a week was 132 cm, and for the last four days it was 128 cm. If the weekly average rainfal...
Shivam bought 22 notebooks for Rs.1290 from shop A and 13 notebooks for Rs.1335 from shop B. What is the average price he paid per book?
The average of 19 numbers is 15.The average of first 9 numbers are12 and that of the last 9 numbers are15. What will be the 19th number?
A cricketer scored an average of 80 runs per match in the first 22 matches. In his next 8 matches, he scored runs with an average of ‘x’ runs per ma...
Average marks scored by Vineet in five subjects are 72. The average marks scored by him (excluding his highest and lowest marks) are 56 and lowest marks...
The mean of a set of 8 numbers is 80. If the average of the first four numbers and the last two numbers is 90 and 60, respectively, and the ratio of the...
Average weight of a team of 16 persons is 37 kg. When one more person joins the team, the average weight of the team increases by 4 kg. Find the weight ...
Average of 15 observations calculated by a student was 65 but when he again went through his observations he realised that he took value of three observ...
The average height of each student in a class of 36 students is 169 cm. If 4 new students joined the class, then the average height of the each student ...
Average run scored by a batsman in first ‘x’ matches is 43. In next 14 matches he scored runs with an average of 63 so that his overa...