ASCII Code rules and techniques

Source: Internet
Author: User
The ASCII code of letters and numbers is very easy to remember. First, observe the inherent laws of ASCII codes. (1) The table is constructed into 16 rows and 8 columns. (2) the entire table can be divided into two parts: 3 columns near the left are not commonly used, and 4 columns on the right are commonly used. (3) There are only 26 English letters, so they must be displayed in two columns. 2. for common

The ASCII code of letters and numbers is very easy to remember. First, observe the inherent laws of ASCII codes. (1) The table is constructed into 16 rows and 8 columns. (2) the entire table can be divided into two parts: 3 columns near the left are not commonly used, and 4 columns on the right are commonly used. (3) There are only 26 English letters, so they must be displayed in two columns. 2. for common

The ASCII code of letters and numbers is very easy to remember.

First, observe the inherent laws of ASCII codes.

(1) The table is constructed into 16 rows and 8 columns.

(2) the entire table can be divided into two parts: 3 columns near the left are not commonly used, and 4 columns on the right are commonly used.

(3) There are only 26 English letters, so they must be displayed in two columns.

2. for common parts, we only need to remember the ASCII code of several letters or numbers:

(1)

The ASCII code of A is 65.

The ASCII code of a is 97.

The ASCII code of 0 is 48.

(2) or, memory hexadecimal (H)

1 31

A 41

A 61

And so on

You can calculate the ASCII code of other letters and numbers by knowing the 32-digit gap between the corresponding size and number.

3. For infrequently used parts

Simply remember the following four items:

Binary (B) hexadecimal (H) decimal (D)

CR enter keys

LF soft return key (for Word documents)

ESC return key 0001,1011 1B 27

SP Space key 0010,0000 20 32

Although the standard ASCII code is a 7-bit code, because the basic processing unit of the computer is byte (1 byte = 8 bit), it is generally stored in one byte as an ASCII character. The extra bit (highest bit) in each byte is usually kept as 0 in the computer.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.