What is the ASCII code for ascii characters?
①The ASCII codes for uppercase characters A to Z are 065 to 090, character plus one, code plus one
②The ASCII codes for lowercase characters a to z are 097 to 122, still character plus one, code plus one
The following chart shows the ASCII code correspondences for common characters
32 to 126 (total 95) are characters (32 is a space), of which 48 to 57 are the ten Arabic numerals from 0 to 9.
65 to 90 are 26 uppercase letters of the alphabet, 97 to 122 are 26 lowercase letters of the alphabet, and the rest are some punctuation marks, arithmetic symbols and so on.
Also note that in standard ASCII, the highest bit (b7) is used as the parity bit. The so-called parity check is a method used to check for errors in the code transmission process, and is generally divided into two types of checksums: odd and even.
Odd parity rule: the correct code in a byte of the number of 1 must be odd, if not odd, then in the highest bit b7 add 1; even parity rule: the correct code in a byte of the number of 1 must be even, if not even, then in the highest bit b7 add 1.
How many characters does the ASCII code consist of?
ASCII code refers to the American Standard Code for Information Interchange, which selects 128 characters in common use, including 32 control characters, 10 decimal numbers (the number referring to the form of the character), 52 English uppercase and lowercase letters, and 34 specialized symbols. They are encoded by 7-bit binary numbers, i.e., a total of 128 different digit strings from 0000000-1111111 are used to represent the 128 characters respectively, and the in-computer code of ASCII code should be supplemented with a 0 in the highest bit in order to represent a character with a byte. the ASCII code is mainly used for displaying the modern English and other Western European languages, and it is the most common standard for information exchange.
BCD code is a form of binary digital coding that uses four binary digits to represent the ten digits 0-9 in a 1-digit decimal number, a decimal code encoded in binary.The BCD form of coding utilizes four bits to store a decimal digit, allowing for quick conversion between binary and decimal.