Академический Документы
Профессиональный Документы
Культура Документы
Assignment #1
Answer Form
Student Last Name:
Student First Name:
Student Number:
Please, enter your answers using MS Word text editor. (All works shown in other paper)
1)
a) 480510 = 10010110001012
b) 333.2510 = 101001101.012
c) 0.8462910 = 02
2)
a) 11101102 = 11810
b) 11011.1112 = 27.87510
c) 0.110112 = -0.8437510
3)
a) F7E916 = 11110111111010012
b) A8.D616 = 10101000.11010112
c) 0.A9F16 = -0.1010100111112
4)
a) 111010010112 = 74B16
5)
a) 5210 = 648
6)
a) 47568 = 9EE16
b) CF9A16 = 1476328
c) 65.638 = 35.CC16
d) 7C.DB16 = 174.678
7)
b) 11110.111012 = 1E.E816
b) 1101.012 = 15.28
c) 0.1010112 = -0.AC16
c) 371.57510 = 563.458
a) Yes, in the number 120101.012 the 2 is the error because in binary numbers, there are either 0 or 1.
b) No, because octal numbers can have any numbers, including decimal.
c) Yes, hexadecimal stops at F and this number AG.E9 16 contains the letter G, which is not in the
hexadecimal dictionary.
8)
9)
a)
12) The original reason for building the ENIAC computer was c) to solve ballistic equations for the US
military.
6576
3457
54118
6+3 = 11(write 1, carry 1) 5+4 = 11(write 1,carry 1) 7+5 = 14(write 4, carry 1)
6+7 = 15(write 5, carry 1)
17)
110011
1101
110011
000000
110011
110011
1010010111
And
0.25
2
0.50
x
2
-------1.00
x
x
2
1.54064
x
2
1.08128
2.a 11101102 = 26 + 25 + 24 + 22 + 21 = 64 + 32 + 16 + 4 + 2 = 11810
2.b 11011.1112 = 27.87510 because
110112 = 24 + 23+ 21 +20 = 2710 And
2.c 0.110112 = = 2-1 + 2-2 + 2-4 + 2-5 = 0.5 + 0.25 + 0.0625 + 0.03125 = 0.8437510
3.a F7E916 = 11110111111010012 because
F16 = 11112
716 = 01112
E16 = 11102
916 = 10012
3.b A8.D616 = 10101000.110101102 because
A16 = 10102
816 = 10002
D16 = 11012
616 = 01102
3.c 0.A9F16 = 0.1010100111112 because
A16 = 10102
916 = 10012
F16 = 11112
4.a 111010010112 = 74B16 because
10112 = B16
01002 = 416
01112 = 716
4.b 11110.111012 = 00011110.11101000 = 1E.E816 because
00012 = 116
11102 = E16
11102 = E16
10002 = 816
4.c 0.1010112 = 0.AC16 because
10102 = A16
11002 = C16
5.a 5210 = 648 because
52 / 8 = 6 remainder 4
6 / 8 = 0 remainder 6
5.b 1101.012 = 15.28 because
1012 = 58
0012 = 18
0102 = 28
5.c 371.57510 = 563.446...8 because
371 / 8 = 46 remainder 3
46 / 8 = 5 remainder 6
5 / 8 = 0 remainder 5
0.575
8
4.600
x
8
4.800
x
8
6.400
x
6.a 47568 = 1002 1112 1012 1102 = 10012 11102 11102 = 9EE16
6.b CF9A16 = 11002 11112 10012 10102 = 0012 1002 1112 1102 0112 0102 = 1476328
6.c 65.638 = 1102 1012 . 1102 0112 = 00112 01012 . 11002 11002 = 35.CC16
6.d 7C.DB16 = 01112 11002 . 11012 10112 = 0012 1112 1002 . 1102 1102 1102 = 174.6668
7.a 120101.012 This cannot be a valid number in base 2, since 2 is not a proper digit in base 2.
7.b 471.568 This a proper number in base 8.
7.c AG.E516 This cannot be a valid number in base 16, since G is not a proper digit in base 16.
8.a Unicode, ASCII, EBCDIC
8.b GIF, JPEG, BMP
8.c WAV, MP3, MIDI
9.a 512510 = 10100000001012 therefore, it will take 13 bits
9.b 2 bytes
10. The correct answer is "d".
11. From 0 to 212 -1 (or 0 to 4096-1 or 0 to 4095)
12. The correct answer is "c". The 7-bit ASCII code of "c" is 1100011.
13. e)
14. The VT (Vertical Tab) is found in the ASCII Table at column 0, row 12. Its ASCII value is
a. binary: 000 10112
b. decimal: 1110
c. hexadecimal: 0B16
15.
Binary: 100111011010011100011110010101000001101001111001101000001101110110100111000111100
10101000012
Hex: 4ED38F2A0D3CD06ED38F2A116
16.
65768
+34578
122558
17.
1100112
10112
110011
110011
000000
110011
10001100012