sc160
Assignment 2 – Number Systems 107 106 105 104 103 102 101 100
10000000 1000000 100000 10000 1000 100 10 1
0 – 9 0 – 9 0 – 9 0 – 9 0 – 9 0 – 9 0 – 9 0 – 9
167 166 165 164 163 162 161 160
268435456 16777216 1048576 65536 4096 256 16 1
0 – F 0 – F 0 – F 0 – F 0 – F 0 – F 0 – F 0 – F
1. Convert the following numbers from base 10 to base 2:
a. 32
b. 47
c. 255
d. 2863
2. Convert the following numbers from base 2 to base 10:
211 210 29 28 27 26 25 24 23 22 21 20
2048 1024 512 256 128 64 32 16 8 4 2 1
0 – 1 0 – 1 0 – 1 0 – 1 0 – 1 0 – 1 0 – 1 0 – 1 0 – 1 0 – 1 0 – 1 0 – 1
a. 1101 1001
b. 0010 1011
c. 1111 1111
d. 0000 0100
3. Convert the following numbers from base 2 to base 16:
a. 1101 1001
b. 0010 1011
c. 1111 1111
d. 0000 0100
4. Explain the similarities of base 2, base 10, and base 16 digits.
5. Additionally complete any programming not completed in class.