Which memory stores the values of variables.

SAM
ROM
RAM
PROM E. None of the above

The correct answer is C. RAM.

RAM (Random Access Memory) is a type of computer memory that can be accessed randomly. This means that any piece of data can be stored or retrieved in any order. RAM is used to store the values of variables, as well as other data that is needed by the computer.

SAM (Static RAM) is a type of RAM that does not require refreshing. This means that it can store data indefinitely without losing it. However, SAM is more expensive than other types of RAM.

ROM (Read-Only Memory) is a type of memory that can only be read from. This means that data cannot be stored or retrieved from ROM. ROM is used to store the basic instructions that a computer needs to start up.

PROM (Programmable Read-Only Memory) is a type of ROM that can be programmed once. This means that data can be stored in PROM, but it cannot be changed once it has been programmed. PROM is used to store data that needs to be changed infrequently, such as the BIOS (Basic Input/Output System).

E. None of the above is not the correct answer.

Exit mobile version