All about the computer memory: definition, types
The term memory applies to any electronic component capable of temporarily storing data. This article will explain the different categories of memory, the technical characteristics of memory, and the differences between Flash Memory, Read-Only Memory, and Random Access Memory.
What are the different categories?
There are two main categories of memory:
- Internal memory: it temporarily memorizes data while programs are running. Internal memory uses micro conductors, i.e., fast specialized electronic circuits. Internal memory corresponds to what we call random access memory (RAM).
- Auxiliary memory: is also called physical memory or external memory). Its role is to store information over the long term, including after the computer is turned off. Auxiliary memory corresponds to magnetic storage devices such as the hard drive, optical storage devices such as CD-ROMs and DVD-ROMs, and read-only memory.
What are the technical characteristics?
The main characteristics of memory are:
- Capacity: represents the global volume of information (in bits) that the memory can store.
- Access time: corresponds to the time interval between the read/write request and the availability of the data.
- Cycle time: represents the minimum time interval between two successive accesses.
- Throughput: The volume of information exchanged per unit of time, expressed in bits per second.
- Non-volatility: characterizes the ability of memory to store data when it is not supplied with electricity.
The ideal memory has a large capacity with restricted access time and cycle time, high throughput, and is non-volatile.
However, fast memory is also the most expensive. This is why memory that uses different technologies are used in a computer, interfaced with each other, and organized hierarchically.
The fastest memory is located in small numbers close to the processor. Auxiliary memory is not as fast and is used to store information permanently.
What are the types of memory?
- Random Access Memory
What is Random access memory? It is the system's main memory, which is a space that allows you to temporarily store data when a program is running.
Unlike data storage on an auxiliary memory such as a hard drive, RAM is volatile, meaning it only stores data as long as it is supplied with electricity. Thus, each time the computer is turned off, all the data in the memory are irremediably erased.
- Read-Only Memory
What is read-only memory? This type of memory, also called ROM, is a type of memory that allows you to keep the information contained on it even when the memory is no longer receiving electricity. This type of memory only has read-only access. However, saving information in some types of ROM memory is possible.
- Flash Memory
What is flash memory? It is a compromise between RAM-type memory and ROM memory. Flash memory possesses the non-volatility of ROM memory while providing both read and write access. However, the access times of flash memory are longer than those of RAM. You can also use a flash memory card.