Primary Memory (Main Memory) - SS2 ICT Lesson Note
Primary memory is the main memory of a computer system that is directly accessible by the CPU. It holds the data and instructions that the CPU needs for processing. There are two main types of primary memory:
i) Random Access Memory (RAM):
RAM is a volatile memory type, which means its contents are lost when the computer is powered off. It's used to store data that is actively being processed by the CPU. RAM provides fast read and write access, allowing for quick data retrieval and manipulation. The more RAM a computer has, the more programs and data it can work with simultaneously.
Source:(stock.adobe.com)
ii) Read-Only Memory (ROM):
ROM is a non-volatile memory type that retains its contents even when the power is turned off. It contains firmware and is used to store permanent instructions and data that are essential for the computer to boot up and initialize hardware components. ROM contents are usually pre-programmed by the manufacturer and cannot be easily modified by the user.
Source:(javatpoint.com)
In summary, primary memory (RAM and ROM) provides fast and direct access to data for the CPU. Each type of memory serves a specific purpose in the overall functioning of a computer system.