Question

    What is the function of the cache memory in a computer's

    memory hierarchy?
    A To control the flow of data between the CPU and memory. Correct Answer Incorrect Answer
    B To provide permanent storage for data and files. Correct Answer Incorrect Answer
    C To manage the allocation of memory resources to different programs. Correct Answer Incorrect Answer
    D To store frequently used data for faster access by the CPU. Correct Answer Incorrect Answer

    Solution

    Cache memory is RAM that a microprocessor can access faster than it can access regular RAM. It is often tied directly to the CPU and is used to cache instructions that are accessed a lot. A RAM cache is faster than a disk-based one, but cache memory is faster than a RAM cache because it's close to the CPU.

    Practice Next