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.
40% students (boys + girls) in a science class are boys. Out of total boys, 60% are literate and 120 are illiterate. Find the number of literate girls i...
- Income of 'M' is 30% more than that of 'N'. 'M' and 'N' save 50% and 40% of their respective incomes. If their expenditure difference is Rs. 600, what is t...
In a college, the ratio of male to female students is 5:3. If there were 10 additional males and 14 additional females, the ratio would change to 3:2. F...
The monthly incomes of 'A' and 'B' are in the ratio of 3:4, respectively. Both 'A' and 'B' have identical monthly expenditures, while their monthly savi...
If a company decreases its number of workers by 50% and increases the remaining employees' salaries by 50%, resulting in a decrease of Rs. 25,000 in tot...
Income of A is twice the income of B. B and A spend 75% and 85% respectively of their incomes. Find the savings of A, if B saves Rs. 18000 in a month.
The sum of the monthly incomes of βAβ, βBβ and βCβ is Rs. 55000 which is 4 times the monthly income of βCβ. If βAβ spends 60% of his...
A girl spent 15% of her monthly income on clothing. Of the remaining, she spent on travel and food in the ratio of 5:3. If the difference of the income ...
Rajesh spent 44% of his monthly income on food and 56% of the remaining of study. If total monthly savings (after spending on food and study) of Rajesh ...
The income of Suresh is 30% higher than that of Mukesh. While Mukesh spends 80% of his income, Suresh spends 60% of his income. If Suresh saves Rs. 6,50...