
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The american standard code for information interchange (ascii) is a character representation system that allows digital devices to communicate and process text. The basics of ascii, including its structure, printable characters, and the differences between uppercase and lowercase letters. It also discusses the importance of fast case conversion for search algorithms.
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Like other character representation computer codes, ASCII specifies a correspondence between digital bit patterns and the glyphs (i.e., symbols) of a written language. This allows digital devices to communicate with each other and to process, store, and communicate character-oriented information Except for a few of the ASCII control characters that prescribe some elementary line- oriented formatting, ASCII does not define any mechanism for describing the structure or appearance of text within a document. ASCII is, strictly, a seven-bit code, meaning it uses patterns of seven binary digits (a range of 0 to 127 decimal) to represent each character. In seven-bit ASCII encoding, the eighth bit is commonly used as a parity bit for error checking on communication lines or for other device-specific functions. There are 95 printable ASCII characters, numbered 32 to 126 (decimal) in the original code.
The digits 0–9 are represented with their values in binary prefixed with 0011 (this means that converting BCD to ASCII is simply a matter of taking each BCD nibble separately and prefixing 0011 to it). Lowercase and uppercase letters only differ in bit pattern by a single bit, simplifying case conversion to a range test (to avoid converting characters that are not letters) and a single bitwise operation. Fast case conversion is important because it is often used in case- ignoring search algorithms. In contrast with EBCDIC, the lowercase and uppercase letters each occupy 26 consecutive positions.