Page 61 - Cs_withBlue_J_C11_Flipbook
P. 61
( 01 1100 34
) 11 1100 74
. 11 1011 73
The representations are shown below as examples:
Example 1: Represent JAVA as 6-bit BCD code.
The BCD binary notation of the characters are given below:
J = 10 0001
A = 11 0001
V = 01 0101
Thus, the BCD equivalent is 100001 110001 010101 110001.
Example 2: Write the Octal notation in BCD coding for the word BAT.
The BCD Octal notation of the characters are given below:
B = 62
A = 61
T = 23
Thus, the BCD octal equivalent is 62 61 23.
2.3.2 ASCII (American Standard Code for Information Interchange)
ASCII is the most popular coding scheme used as industry standard in computers and the web. It was introduced
in 1960. Originally, ASCII was designed as a 7-bit character set having 2 or 128 characters. It could represent all
7
digits from 0 to 9, upper case and lower case English alphabets and some special characters. The ASCII codes of 128
characters are listed in the table below:
Decimal Octal Hexadecimal Binary Value
000 000 000 00000000 NUL
001 001 001 00000001 SOH
002 002 002 00000010 STX
003 003 003 00000011 ETX
004 004 004 00000100 EOT
005 005 005 00000101 ENQ
006 006 006 00000110 ACK
007 007 007 00000111 BEL
008 010 008 00001000 BS
009 011 009 00001001 HT
010 012 00A 00001010 LF
011 013 00B 00001011 VT
012 014 00C 00001100 FF
013 015 00D 00001101 CR
014 016 00E 00001110 SO
015 017 00F 00001111 SI
016 020 010 00010000 DLE
017 021 011 00010001 DC1
018 022 012 00010010 DC2
019 023 013 00010011 DC3
020 024 014 00010100 DC4
021 025 015 00010101 NAK
59
Encoding 59

