Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What does the standard ASCII code use 7-bit binary bits to represent

Shulou Source: shulou.com Published: 2022-06-02 14:18:19 10月03日 Update

This article is about what standard ASCII codes use 7-bit binary bits to represent. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The standard ASCL code uses 7-bit binary numbers (the remaining 1-bit binary is 0) to represent 128 different codes. The 7-bit binary number (0000000111111) is decimal (0,127), with a total of 128 characters.

Standard ASCII codes are represented by 7-bit binary bits and can represent 128 different codes.

The standard ASCII code, also known as the base ASCII code, uses 7-digit binary numbers (the remaining 1-bit binary is 0) to represent all uppercase and lowercase letters, numbers 0 to 9, punctuation, and special control characters used in American English; a total of 128 characters have been defined so far. Where:

Control characters: LF (line feed), CR (carriage return), FF (page feed), DEL (delete), BS (backspace), BEL (ring), etc.; communication characters: SOH (header), EOT (tail), ACK (confirmation), etc.; ASCII values of 8, 9, 10 and 13 are converted to backspace, tabulation, line feed and carriage return characters, respectively. They do not have a specific graphical display, but they have different effects on text display depending on the application.

32 '126 (95 total) are characters (32 are spaces), of which 48' 57 is 0 to 9 ten Arabic numerals.

65'90 is 26 capital letters, 97 '122 is 26 lowercase letters, and the rest are punctuation marks, arithmetic symbols and so on.

Also note that in the standard ASCII, the highest bit (b7) is used as the parity bit. The so-called parity is a method used to check whether there is an error in the process of code transmission, which is generally divided into parity and parity. Odd check stipulates that the number of 1 in a byte of correct code must be odd, if it is not odd, add 1 in the highest bit b7; even check stipulates that the number of 1 in a byte of correct code must be even, if not even, then add 1 in the highest bit b7.

Thank you for reading! This is the end of the article on "what does the standard ASCII code use 7 bits to represent?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Characters binary standard different highest code letter symbol control number even content uppercase parity odd byte lowercase more punctuation punctuation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Xiaomi MySQL Redmi Shulou Technology