Exercise 1
Exercise 1
Exercise #1
1. 4310 = ?2
2. 104310 = ?2
3. 110110102 = ?10
4. 011011012 = ?10
5. 110110102 = ?8
6. 01111101012 = ?8
7. 11111010110011102 = ?16
8. 1001000112 = ?16
9. 1238 = ?2
10. ECE16 = ?8
ELEC 2200 Section 2 Spring 2013
Exercise #1 Solutions
Perform the following conversions:
1. 4310 = ?2
43/2 = 21 remainder = 1 (LSB)
21/2 = 10 remainder = 1
10/2 = 5 remainder = 0
5/2 = 2 remainder = 1
2/2 = 1 remainder = 0
1/2 = 0 remainder = 1 (MSB) therefore, 4310 = 1010112
2. 104310 = ?2
1043/2 = 521 remainder = 1 (LSB)
521/2 = 260 remainder = 1
260/2 = 130 remainder = 0
130/2 = 65 remainder = 0
65/2 = 32 remainder = 1
32/2 = 16 remainder = 0
16/2 = 8 remainder = 0
8/2 = 4 remainder = 0
4/2 = 2 remainder = 0
2/2 = 1 remainder = 0
1/2 = 0 remainder = 1 (MSB) therefore, 104310 = 100000100112
3. 110110102 = ?10
1×27+1×26+0×25+1×24+1×23+0×22+1×21+0×20 = 128 + 64 + 16 + 8 + 2 = 21810
4. 011011012 = ?10
1×26 + 1×25 + 1×23 + 1×22 + 1×20 = 64 + 32 + 8 + 4 + 1 = 10910
5. 110110102 = ?8
011 011 0102
3 3 28 therefore, 110110102 = 3328
6. 01111101012 = ?8
111 110 1012
7 6 58 therefore, 01111101012 = 7658
7. 11111010110011102 = ?16
1111 1010 1100 11102
F A C E16 therefore, 1111101011002 = FACE16
8. 1001000112 = ?16
0001 0010 00112
1 2 316 therefore, 1001000112 = 12316
9. 1238 = ?2
1 2 38
001 010 0112 therefore, 1238 = 10100112
10. ECE16 = ?8
E C E16
1110 1100 11102
111 011 001 1102 (rearranging into groups of 3)
7 3 1 68 therefore, ECE16 = 73168