Examveda

Which type of memory is used to store data temporarily during program execution?

A. ROM

B. Cache Memory

C. RAM

D. Hard Disk

Answer: Option C

Solution (By Examveda Team)

RAM (Random Access Memory) is the primary memory used to store data and instructions temporarily during program execution.

RAM is volatile memory, which means that its contents are lost when the computer is switched off or loses power. It provides the CPU with fast access to the data and instructions required while programs are running.

Option A: ROM
ROM (Read-Only Memory) is non-volatile memory mainly used to store firmware and permanent instructions. Its contents are retained even when the power is turned off.

Option B: Cache Memory
Cache memory is a very fast, small memory located close to or within the CPU. It stores frequently accessed data and instructions to improve processing speed, but it is not the computer's main memory.

Option C: RAM
RAM temporarily stores the data, programs, and instructions currently being used by the CPU during program execution.

Option D: Hard Disk
A hard disk is secondary storage used to store data and programs permanently. It retains data even when the computer is switched off.

Hence, Option C — RAM is the correct answer.

This Question Belongs to Computer Science >> Computer Architecture

Join The Discussion

Comments (1)

  1. Shubham Shubh
    Shubham Shubh:
    2 weeks ago

    question specifically said “stores frequently accessed data to speed up CPU”, then the answer would be Cache Memory.

Related Questions on Computer Architecture