1 What is the ASCII representation for the numeral 31415 in
1) What is the ASCII representation for the numeral -3.1415 in binary? In octal? In hexadecimal? In decimal? What is the EBCDIC representation for the numeral +1,250.1? (Include the comma.)
2. Convert the following hexadecimal numbers to decimal:
a. 4E
b. 3D7
c. 3D70
Show your work
Solution
Q2.)
a.) 4E16 = 4* 16^1 + E*16^0 = 4*16 + 14 = 64+14 = 78
b.) 3D716 = 3*16^2 + D*16^1 + 7*16^0 = 3*256 + 13*16 + 7 = 768 + 208 + 7 = 983
c.) 3D7016= 3*16^3 + D*16^2+7*16^1+0*16^0 = 12288 + 3328 + 112 = 15668
