

Memory is a memory device used to save programs and data, as well as intermediate results and final results of operations. The difference between internal memory and external memory: 1. The memory is a temporary storage area when executing the program, and all data will be lost after a power failure; the external memory is used to store original data and operation results, and the data will not be lost after a power failure; 2. Memory is characterized by fast access speed, but small capacity and expensive price, while external memory is characterized by large capacity, low price, but slow access speed; 3. Memory is used to store programs and data that the computer needs to use immediately. Memory is used to store programs and data that are not in use temporarily.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
What is memory?
Memory is a memory device used to save programs and data, as well as intermediate results and final results of operations.
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 and external memory
Internal memory refers to the main memory of the computer and is located between the CPU and the main memory. cache between.
Internal memory is mainly used to temporarily store instructions and data being used by the CPU. It has the closest relationship with the CPU. Because the programs and data it stores need to be used immediately, it requires fast access speed, and is usually composed of semiconductor memory. The CPU fetches instructions and stores data directly from the main memory. Information is not saved after power is turned off.
External memory refers to the auxiliary memory of the computer, including hard disk, floppy disk, optical disk, etc.
External memory is used to store information that is not needed immediately. Once needed, it can exchange data with the main memory in batches. It is used as a backup and supplement to the main memory. What exists is an external device to the host. It is characterized by large capacity and low cost. It can usually still save information after a power outage. It is a "non-volatile" memory, and most of the storage media can also save information offline.
The difference between internal memory and external memory
1. Internal memory is a temporary storage area when executing programs. All data will be lost after power failure; external memory is used to Those that store original data and calculation results need to be saved for a long time, and the data will not be lost after power failure.
2. The most prominent feature of internal memory is fast access speed, but small capacity and expensive price; the characteristics of external memory are large capacity, low price, but slow access speed.
3. Internal memory is used to store programs and data that are needed immediately; external memory is used to store programs and data that are not used temporarily.
Expand knowledge:
There are three indicators to measure memory: capacity, speed and price/bit. Therefore, the price per bit of high-speed memory is relatively high, so the capacity cannot be too large, so it must be divided into memory and external memory. The information being used is placed in the high-speed memory, and the temporarily unused information is placed in the external memory. But they are all computer storage systems, and they form a storage hierarchy. Overall, the computer has a speed similar to that of memory and a capacity similar to that of external memory.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is memory? What are the essential differences between internal memory and external memory?. For more information, please follow other related articles on the PHP Chinese website!

计算机具有很强的记忆能力的基础是:足够容量的存储装置。存储器可分为内存和外存,它们使得计算机具有强大的记忆功能,可以存储大量的信息,这些信息,不仅包括各类数据信息,还包括加工这些数据的程序。

能直接存取。内存储器又称内存,是外存与CPU进行沟通的桥梁,计算机中所有程序的运行都是在内存中进行。内存的作用是用于暂时存放CPU中的运算数据,以及与硬盘等外部存储器交换的数据。只要计算机运行,操作系统就会把需要运算的数据从内存调到CPU中进行运算;当运算完成后,CPU再将结果传送出来,内存的运行也决定了计算机的稳定运行。

存储器中存取速度最快的是“内存储器”;计算机中的存储器采用层次结构,按照速度快慢排列依次是内存储器、高速缓冲存储器、计算机的主存、大容量磁盘,其中内存一般分为RAM随机存取存储器和ROM只读存储器。

存储器系统是指计算机中由存放程序和数据的各种存储设备、控制部件及管理信息调度的设备(硬件)和算法(软件)所组成的系统。存储系统提供写入和读出计算机工作需要的信息(程序和数据)的能力,实现计算机的信息记忆功能。存储系统的层次化结构可以分为5级:寄存器组、高速缓存Cache、主存、虚拟存储器和外部存储器。

u盘是中国发明的,朗科公司是U盘的全球发明者。2002年7月,朗科公司的“用于数据处理系统的快闪电子式外存储方法及其装置”获得国家知识产权局正式授权,该专利填补了中国计算机存储领域20年来发明专利的空白;2004年12月7日,朗科获得美国国家专利局正式授权的闪存盘基础发明专利。

cache叫做高速缓冲存储器,是介于中央处理器和主存储器之间的高速小容量存储器,一般由高速SRAM构成;这种局部存储器是面向CPU的,引入它是为减小或消除CPU与内存之间的速度差异对系统性能带来的影响。Cache容量小但速度快,内存速度较低但容量大,通过优化调度算法,系统的性能会大大改善。

存储器是用来保存程序和数据,以及运算的中间结果和最后结果的记忆装置。内存储器与外存储器的区别:1、内存是执行程序时的临时存储区,掉电后数据全部丢失;外存是用来存储原始数据和运算结果的,掉电后数据不会丢失;2、内存的特点是存取速度快,但是容量小、价格贵,而外存的特点是容量大、价格低,但是存取速度慢;3、内存用于存放计算机立即要用的程序和数据,外存用于存放暂时不用的程序和数据。

内存储器可分为2类:1、只读存储器(ROM),以非破坏性读出方式工作,只能读出无法写入信息,信息一旦写入后就固定下来,即使切断电源,信息也不会丢失;2、随机存储器(RAM),是与CPU直接交换数据的内部存储器,可以随时读写(刷新时除外),而且速度很快,通常作为操作系统或其他正在运行中的程序的临时数据存储介质。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Dreamweaver Mac version
Visual web development tools
