What is the need of RAM? How does it differ from ROM?
RAM is needed because programs and data must be loaded into primary memory before processing. The CPU interacts directly with the primary memory to perform read or write operations. RAM stores data temporarily while the computer is working, and whenever the computer is started or a software application is launched, the required program and data are loaded into RAM for processing.
RAM differs from ROM in the following ways: RAM is volatile, meaning its contents are wiped out when the power supply is turned off. In contrast, ROM is non-volatile, so its contents are not lost even when the power is turned off. RAM is used to store data temporarily during processing, whereas ROM serves as a small but faster permanent storage for contents that are rarely changed, such as the startup program (boot loader) that loads the operating system into primary memory.
Explanation
This question tests the student's understanding of primary memory types. The answer covers two parts: (1) the need for RAM - explaining its role in loading programs/data for CPU access during processing, and (2) key differences between RAM and ROM - focusing on volatility, permanence, and usage. The textbook context clearly states these distinctions, making them essential for exam preparation.
Solution Steps
Step 1: Explain the need of RAM - programs and data loaded before processing, CPU interacts directly, temporary storage during operation.
Step 2: Differentiate RAM from ROM - volatile vs non-volatile nature, temporary vs permanent storage, and their respective uses.