In-depth understanding of binary code
Binary is a system of numeric systems widely used in computing techniques. Binary data are expressed in 0 and 1 numbers. It's base number is 2 The entry rule is “two-to-one” and the borrowing rule is “one-to-two”. Although decimals are more visible to humans, binaryism is the most stable expression of electronic circuits.
Why is the computer binary?
The computer is built into a myriad of tiny transistors, which are like switches, with only "on" and "off" states. Using binary means, you can perfect the two physical states: 1 The government has also been able to provide information on the situation. 0 Representative off (low level). This design greatly simplifys the hardware structure of the computer and improves the reliability and ability of the system to resist interference.
How did the text be converted to binary?
To allow computers to process text, we need a set of rules to map each character to a specific number. Common criteria include:
- ASCII: The earliest coding standard, which supports only letters, numbers and basic symbols, with each character occupying 7 or 8 bits.
- UTF-8: The most common coding method available on the Internet. It's a long-term coding scheme that can mean almost all the world's words (foremost, Emoji). Wait. This tool is converted by default using UTF-8 encoding.
The principles of the evolution
In computer science, apart from binary, we often use hexadecimals and octadecimals:
- Hex: Because binary is too long to read (e.g., 1111 Equal to Hex F Programs often use the " 16th " to make it short of binary. Every 4-bit binary corresponds to 1-bit hexadecimal.
- Decimal: This is the method of counting that we use in our daily lives.
How to use this tool?
- Text to binary: Enter text in the Normal Text box on the left, and the right will generate the corresponding binary sequence immediately.
- Binary translation: Pastes the binary code to the right box, and automatically returns the left to text. Note: It is suggested that space be used to separate the binary code.
- Multi-digital rotation: Enter values in the decimal, hexadecimal or octadecimal boxes below, and all other input boxes (including binary) are updated with a live update.