Computer memory can be divided into two categories: memory and external memory. The difference is: the memory can only temporarily store data information, and the external memory can permanently save the data information; the external memory is not controlled by the CPU, but the external memory must use the memory to exchange data information with the CPU; the access speed of the memory is fast, and the access speed of the external memory is fast. Slow.
#Memory is a memory component used to store programs and various data information. Memory can be divided into two categories: main memory (referred to as main memory or memory) and auxiliary memory (referred to as auxiliary memory or external memory). It is the main memory that directly exchanges information with the CPU.
Internal memory is used frequently by the computer during program execution and is directly accessible during an instruction cycle. External storage requires the computer to read information from an external storage device such as a tape or disk. This is similar to students taking notes in class. If the student knows the content without looking at the notes, the information is stored in "internal memory." If a student must consult notes, the information is in "external memory."
Memory is a memory that is directly controlled and managed by the CPU and can only temporarily store data information. External memory is a memory that can permanently store information. Programs stored in external memory must be transferred into memory to run. Memory is the stage where the computer works.
The difference between memory and external memory is: memory can only temporarily store data information, while external memory can permanently save data information; external memory is not controlled by the CPU, but external memory must use memory to exchange data information with the CPU. ;The access speed of memory is fast, and the access speed of external memory is slow.
Memory can be divided into: RAM and ROM. The characteristics of RAM are: it can be read and written, but power outage will cause information loss. ROM is used to store BIOS.
External storage includes: magnetic disk (floppy disk and hard disk), optical disk, U disk (electronic disk).
For more related knowledge, please visit: PHP Chinese website!
The above is the detailed content of How many categories of computer memory can be divided into? What are their main differences?. For more information, please follow other related articles on the PHP Chinese website!