Home > Common Problem > body text

In what form are all computer programs and data stored?

coldplay.xixi
Release: 2020-07-15 14:08:47
Original
45183 people have browsed it

All computer programs and data are stored in binary form. The computer only recognizes instructions and data in the form of binary encoding. Therefore, information including numbers, characters, sounds, graphics, images, etc. must be processed in some way. Only after the format is converted into binary format can it be provided to the computer for recognition and processing.

In what form are all computer programs and data stored?

All computer programs and data are stored in binary encoding.

Computers only understand instructions and data in the form of binary encoding.

Therefore, information including numbers, characters, sounds, graphics, images, etc. must be converted into binary form in some way before it can be provided to the computer for recognition and processing.

In what form are all computer programs and data stored?

Extended information:

1. Binary is used in computers because it is easy to implement physically. Since binary has only two states, 0 and 1, this exactly corresponds to the two states of a physical device.

For example, the high and low of the voltage signal, the on and off of the gate circuit, etc.; while the decimal circuit needs to be described by ten states, which will make the circuit very complex and difficult to process.

Therefore, the use of binary will make the computer physically simple to implement, and has the advantages of high reliability, simple processing, and strong anti-interference ability.

2. Binary is composed of two numbers, 1 and 0. It can represent two states, on and off. This state can be achieved by the level of potential. Computers are composed of various electronic components.

One of the important components is semiconductors, which are diodes, transistors, etc. that we are familiar with. Semiconductors can transmit and process information through their switching states.

If other base systems are used, the manufacturing of computers and the processing of information will be more complicated. All information entered into the computer must eventually be converted into binary data. Currently, the commonly used code is ASCII. The most basic unit is bit.

Binary coding is to use a predetermined method to encode characters, numbers or other objects into binary numbers, or to convert information and data into prescribed binary electrical pulse signals.

The above is the detailed content of In what form are all computer programs and data stored?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template