Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Why binary system is used in computer

Shulou Source: shulou.com Published: 2022-06-02 18:40:45 11月14日 Update

I would like to share with you why binary is used in computers. I believe most people don't know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's learn about it together.

The main reasons for using binary system in computer are: 1, logic operation can be carried out; 2, the algorithm is simple; 3, the system with two states is easy to realize cost. In digital electronic circuits, binary is directly used in the implementation of logic gates, so binary is used in modern computers and computer-dependent devices.

The main reasons for the use of binary in computers are:

1. The cost of two-state system is easy to realize.

2. The algorithm is simple

3. Logic operation can be carried out.

If you are interested in programming languages, you are welcome to visit the programming video. )

Binary extension knowledge:

In mathematical and digital circuits, binary refers to a numbering system based on 2, which represents a binary system. In this system, it is usually represented by two different symbols 0 (for zero) and 1 (for one). In digital electronic circuits, binary is directly used in the implementation of logic gates, so binary is used in modern computers and computer-dependent devices. Each number is called a bit (abbreviation for Bit,Binary digit).

Operation:

Addition

There are four cases of binary addition: 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 1, 1, 1, 10, 1, 0, 1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 10, 10, 1, 10, 1, 10, 1, 0, 1, 0, 1, 10, 10, 0, 0, 1, 0, 1, 0, 1, 10, 10, 0, 0, 1, 0, 1, 10, 0, 0, 1, 0, 1, 10, 0, 0, 0, 1, 10, and 10.

(windows operating system tutorial: windows)

Multiplication

There are four cases of binary multiplication: 0 × 0 × 0, 1 × 0 × 0, 0 × 1, 1 × 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.

Subtraction

There are four cases of binary subtraction: 0murmur0mem0meme 1mur0meme1mai 1mai 0memo 0mi 1m 1m 1.

Division

There are two cases of binary division (the divisor can only be 1): 0 / 1 / 1 / 1 / 1.

The above is all the contents of the article "Why binary is used in computers". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Binary computer system operation situation number logic two representatives circuit article multiplication content subtraction addition cause cardinality cost rule state Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple macOS Shulou Tech Info Shulou Information