Using the Microsoft Word or Excel, create a chart similar to Table 1-3 for the hexadecimal codes for the numbers from 0 through 9.
Binary
Decimal
Hexadecimal
Character
00000000
0
000
NUL
00000001
1
001
SOH
00000010
2
002
STX
00000011
3
003
ETX
00000100
4
004
EOT
00000101
5
005
ENQ
00000110
6
006
ACK
00000111
7
007
BEL
00001000
8
008
BS
00001001
9
009
HT
Exercise 1.4.3
What are the binary and decimal values of the ASCII letter K? 01001011, 75.
What is the relationship of ASCII to the UCS encoding? For communication and exchange of electronic information. The way they encode each character and the number of bits used.
What features are provided by UTF- 8 that are not provided by ASCII? Why was it chosen to replace ASCII as the standard for the web? A variable with encoding that can represent every character in the Unicode character set. UTF-8 functions better on the web. It can translate foreign languages.
1. Using the ASCII encoding scheme, write your name (including the space between your first and last name) in hexadecimal. How much memory would it take to store your name if each ASCII character occupied a byte? 52-R, 61-a, 6D-m, 6F-o, 6E-n, 32-Space, 44-D, 65-e, 4C-L, 61-a, 54-T, 6f-o, 72-r, 72-r, 65-e. 1407/8= 175.875 bytes
2. Using a word size of 64 bits, how much memory space is wasted by the leading 0 used to store 256 ASCII characters each in individual bytes? Every time you save a character it begins with 0 and only use 7 bits in a slot, so you would be wasting some money.
3. 3. What is the binary equivalent of the word NETWORK using ASCII encoding?
N= 01001110
E= 01000101
T=01010111
W=01001111
O=01001111
R= 01010010
K=01001011