Unformatted text preview: 1010 1000
1001
1010
1011
1100
1101
1110
mi A8
A9
AA
AB
AC
AD
AE
AF P
1011
0000
B0
Q
1011
0001
Bl
R
1011
0010
B2
S
1011
0011
B3
T
1011
0100
B4
U
1011
0101
B5
V
1011
0110
B6
W
1011
0111
B7
X
1011
1000
B8
Y
1011
1001
B9
Z
1011
1010
BA
Figure 4.7. Numeric and alphabetic characters in ASCII8 notation along with their
Hexadecimal equivalent.
Solution:
B = 1000010 in ASCII7 binary notation
O = 1001111 in ASCII7 binary notation
Y = 1011001 in ASCII7 binary notation
Hence, the binary coding for the word BOY in ASCII7 will be
1000010/B 1001111/O 1011001/Y
Since each character in ASCII7 requires one byte for its representation and there are 3
characters in the word BOY, 3 bytes will be required for this representation.
Example 4.8.
Write the hexadecimal coding for the word GIRL in ASCII7.
required for this representation?
Solution:
G = 47 in ASCII7 hexadecimal notation
I = 49 in ASCII7 hexadecimal notation
R = 52 in ASCII7 hexadecimal notation
L = 4C in ASCII7 hexadecimal notation How many bytes are Hence, the hexadecimal coding for the word GIRL in ASCII7 will be
47/G 49/I 52/R 4C/L = GIRL
Since each character in ASCII7 requires one byte for its representation and there are 4
characters in the word GIRL, 4 bytes will be required for this representation. Example 4.9.
Write the binary coding for the word SKY in ASCII8. How many bytes are required
for this representation?
Solution:
S = 10110011 in ASCII8 binary notation
K = 10101011 in ASCII8 binary notation
Y = 10111001 in ASCII8 binary notation
Hence, the binary coding for the word SKY in ASCII8 will be
10110011/S 10101011/K 10111001/Y = SKY
Since each character in ASCII8 requires one byte for its representation and there are 3
characters in the word SKY, 3 bytes will be required for this representation.
Example 4.10.
Write the hexadecimal coding for The word STAR in ASCII8. How many bytes are
required for this representation?
Solution:
S = B3 in ASCII8 hexadecimal notation
T = B4 in ASCII8 hexadecimal notation
A = Al in ASCII8 hexadecimal notation
R = B2 in ASCII8 hexadecimal notation
Hence, the hexadecimal...
View
Full
Document
 Spring '14

Click to edit the document details