Every topic starts at New. Sign in and your practice counts.
Coding schemes are standards that computers use to convert and represent data in a format they can understand, such as binary digits (1's and 0's). Since computers cannot interpret humanreadable characters like letters, numbers, and symbols directly, they need to translate this data into a machine-readable format. Different coding schemes are used for this purpose, among then ASCII and Unicode are common.
Data Representation: Computers use binary (0s and 1s) to represent all data. Coding schemes map human-readable characters to binary codes, making it possible for computers to store and manipulate text and other data.
Standardization: Coding schemes provide a consistent way to represent characters across different platforms and devices, ensuring compatibility and accurate data exchange.
Efficiency: They optimize the storage and processing of data by providing a fixed-length binary representation for each character.
Communication: They enable different computer systems to communicate with each other by using a common representation for characters and symbols.
ASCII stands for American Standard Code for Information Interchange. It is a standard data coding scheme in computers. It assigns standard numeric values to alphabets, numerals, punctuation marks and other characters used in computers. Before ASCII was developed, different makes and models of computers could not communicate with one another. Each computer manufacturer represented alphabets, numerals and other characters in its own way.
On June 17, 1963 ASCII was approved as the American standard code. However, it did not gain wide acceptance because IBM chose to use EBCDIC (Extended binary coded decimal interchange
code) in its computers. Initially ASCII used 7-bit codes of various combinations of 0's and 1's to represent 128 different characters . ASCII-7 could not able to represent newly developed characters so it underwent further developments and revisions and ASCII-8 was developed.
ASCII was extended to an 8-bit code that can represent ( ) different characters. ASCII-8 became popular in 1981 when it was used first time in IBM's Personal Computer (PC) and soon it became industry standard for personal computers. Many Windows systems use an 8 -bit ASCII encoding and this Microsoft specific encoding is known as ANSI code. ANSI stands for American National Standards Institute, In extended ASCII-8, 32 code combinations are used for machine and control
| Just to Remember! | |
|---|---|
| Characters | ASCII-8 Value in Decimal |
| 0-9 | 48-57 |
| A-7 |
Even extended ASCII (ASCII-8) does not include enough code combinations to support all written languages. Asian languages, for instance, require thousands of characters. This limitation gave rise to new encoding standard known as Unicode (Universal coding system) that can support all the written languages. It was published by Unicode Consortium (a group of multilingual software manufacturers). The first version of Unicode was introduced in 1991.
Unicode is an international character-encoding system designed to facilitate the electronic exchange, processing, and display of written texts from diverse modern and classical languages. The Unicode Standard encompasses letters, digits, accents, punctuation marks, technical symbols for the world's major written languages, as well as emoji and other symbols, all using a uniform encoding scheme. The latest version of Unicode includes over 100,000 characters. Unicode assigns a unique number to each character that remains consistent across all systems that support Unicode.
Unicode defines multiple encodings of its single character set: UTF-7, UTF-8, UTF-16, and UTF32. UTF stands for Unicode Transformation Format. Conversion of data among these encodings is lossless, means do not lose the quality. Unicode was originally a 2-byte (16-bits) character set. Unicode version 3, however, is a 4-byte (32-bits) code and is fully compatible with ASCII. These all support encoding the same set of characters. Table 4 (Annexure 4) shows a part of Unicode character set after ASCII-8.
| a-z |
commands, such as "start of text," "carriage return," and "form feed", etc. Control commands do not represent printable information, but rather they help control devices, such as printers. Table 1 (Annexure 1) shows non-printable ASCII control codes. Table 2 (Annexure 2) shows printable ASCII characters and Table 3 (Annexure 3) shows extended ASCII printable characters.