Computers use binary to represent data internally. Binary in mathematics and digital circuits refers to a 2-based numbering system, usually represented by two different symbols 0 and 1. Binaries are used in modern computers and computer-dependent devices.
#The operating environment of this article: Windows 7 system, Dell G3 computer.
The internal calculation of the computer uses binary representation of data.
Binary (binary) refers to a numbering system based on 2 as the base in mathematics and digital circuits. Using 2 as the base means that the system is binary. In this system, it is usually represented by two different symbols: 0 (representing zero) and 1 (representing one). In digital electronic circuits, the implementation of logic gates directly uses binary, so modern computers and computer-dependent devices all use binary. Each number is called a bit.
Binary operations:
Addition
There are four cases of binary addition: 0 0=0, 0 1=1, 1 0=1, 1 1=10(0 Carry is 1).
Multiplication
There are four cases of binary multiplication: 0×0=0, 1×0=0, 0×1=0, 1×1=1.
Subtraction
There are four situations in binary subtraction: 0-0=0, 1-0=1, 1-1=0, 0-1=1.
Division
There are two cases of binary division (the divisor can only be 1): 0÷1=0, 1÷1=1.
(Operating system tutorial: windows)
The above is the detailed content of What base system is used internally by the computer to represent data?. For more information, please follow other related articles on the PHP Chinese website!