Computer memory is the storage space in the computer, where data is to be processed and instructions required for processing are stored. It is divided into a large number of small parts called cells.
Data in a computer is stored in binary form (0s and 1s). The following table shows the standard units used to measure memory capacity:
| Unit | Equivalent To |
|---|---|
| Bit | Binary Digit (0 or 1) |
| Nibble | 4 Bits |
| Byte (B) | 8 Bits |
| Kilobyte (KB) | 1024 Bytes |
| Megabyte (MB) | 1024 KB |
| Gigabyte (GB) | 1024 MB |
| Terabyte (TB) | 1024 GB |
| Petabyte (PB) | 1024 TB |
Primary memory holds only those data and instructions on which the computer is currently working. It has a limited capacity and data is lost when power is switched off (in the case of RAM).
RAM is the internal memory of the CPU for storing data, programs, and program results. It is a read/write memory which stores data until the machine is working.
ROM is memory from which we can only read but cannot write on it. This type of memory is non-volatile. The information is stored permanently in such memories during manufacture.
Secondary memory is also known as external memory or non-volatile memory. It is slower than main memory but used for storing data/information permanently.
The standard main storage device for most computers. It uses magnetic storage to store and retrieve digital information using rapidly rotating disks (platters) coated with magnetic material.
A newer, faster type of device that stores data on instantly-accessible memory chips. Unlike HDDs, SSDs have no moving parts, making them quieter and more durable.
Small, portable storage devices that connect via a USB port. They use "flash" memory, which is a type of EEPROM.
Digital Versatile Discs (DVD) are optical storage media that use laser technology to read and write data. They offer higher storage capacity than traditional CDs.
Input devices allow the user to send data or instructions to the computer.
Output devices translate the computer's processed data into a form that humans can understand.
The most common type of monitor used today. It uses the light-modulating properties of liquid crystals to display images.
Used to create "hard copies" of digital documents.
A specialized output device used to produce high-quality vector graphics. They are commonly used by engineers and architects for technical drawings and blueprints.
The technology market is constantly evolving with newer peripheral devices:
Q: Why is RAM called 'Random Access'?
A: Because any location in the memory can be accessed directly in the same amount of time, regardless of its physical position.
Q: What is the main advantage of SSD over HDD?
A: Speed. SSDs have no moving parts and can read/write data much faster than the spinning platters of an HDD.
Q: Is a USB Flash Drive primary or secondary memory?
A: It is secondary storage because it stores data permanently and is external to the computer's motherboard.