hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    What is the main purpose of cache memory in a computer?
    Question

    What is the main purpose of cache memory in a computer?

    A.

    To serve as virtual memory

    B.

    To provide backup for RAM

    C.

    To store frequently accessed data for quick retrieval

    D.

    To permanently store user files

    Correct option is C

    The correct answer is: (C) To store frequently accessed data for quick retrieval

    Explanation:

    • Cache memory is a small, high-speed memory located between the CPU and RAM.

    • Its primary function is to store frequently accessed data and instructions to allow faster retrieval by the processor.

    • By storing data that is repeatedly used, cache memory reduces the time it takes for the CPU to access data from the slower main memory (RAM), improving system performance.

    • Cache memory operates at much higher speeds than RAM, making it an essential component for efficient processing.

    Information Booster:
    Levels of Cache: Cache memory is typically divided into multiple levels (L1, L2, L3), with L1 being the fastest and smallest, located directly within the CPU.
    Speed and Efficiency: The closer the cache is to the CPU, the faster it can deliver data, significantly reducing processing time.
    Cache Hit and Miss: When the CPU retrieves data from the cache, it is called a cache hit; when the data is not found in the cache and must be fetched from RAM, it is a cache miss.
    Cache Size: Cache memory is much smaller in size compared to RAM, but its speed is critical for high-performance computing.
    Impact on Performance: A well-sized cache memory can greatly improve the overall speed of the system, particularly in tasks that involve repeated data retrieval.

    Free Tests

    Free
    Must Attempt

    RRB NTPC CBT-1 (Undergraduate Level) Mock 1

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    RRB NTPC Graduate Level PYP (Held on 5 Jun 2025 S1)

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    RRC Grp D General Science Section Test 1

    languageIcon English
    • pdpQsnIcon25 Questions
    • pdpsheetsIcon25 Marks
    • timerIcon15 Mins
    languageIcon English
    test-prime-package

    Access ‘RRB NTPC’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    238k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow