Computer Engineering Concepts |
Answers to Problems
Chapter 2
Practice 2.1
1. 0, 1, 2
2. 0, 1, 2, 10, 11, 12 & 0, 1, 2, 3, 4, 10
3. 13, 10, 11 4. a. 5 b. 9 c. 4 d.16
5. 120,112,111,110,102
Practice 2.2
1. a. 5 b. 6 c. 10 d. 13 e. 14
2. a. 7 b. 22 c. 38 d. 15 e. 47
3. a. 19 b. 165 c. 1215 d. 3101 e. 11169
4. a. 101 b. 1000 c. 1101 d. 10101 e. 100100
5. a. 111 b. 1011 c. 10000 d. 11101 e. 101110
6. a. 1010011 b. 10002 c. 146 d. 83 e. 53
7. a. 1111001 b. 441 c. 321 d. 171 e. 79
8. a. 20210 b. 203 c. 83 d. 63 e. 4B
10. a. 1111 b. 10001 c. 100111 d. 110111 e. 110110
11. a. 111 b. 11001 c. 11011 d. 101011 e. 101110
Practice 2.3
1. a. 100110 b. 111001 c. 101000 d. 1010001 e. 10011100
2. a. 10011 b. 10110001 c. 11001110 d. 110100011111 e. 101000101011
3. a. 48 b. 127 c. 17A6 d. 123D
4. a. 21 b. 213 c. 2131 d. 12101
5. a. 44 b. 363 c. 352 d. 6642 e. 7332
6. a. 25 b. 1F c. 1EB d. AA1 e. AF2
8. a. 5 b. 17 c. 26 d. 48
Practice 2.4
1. a. 1011 b. 100101 c.111000 d. 110 e.101100 f. 10011 g. 1111 h. 100100 i. 1000001
2. a. 1101 R1 b. 1110 R1 c. 110001 R0
3. a. 111 b.1 c.1110 d. 110001
4. a. 10 b.111 c.1 d. 10000
5. a. 222 b. 20 c. 874 d. 1022 e. D0C f. E1C
Practice 2.5
1. a. 1000 0101 b. 1001 0011 c. 1010 0111 d. 1011 1000
2. a. 1111 0111 b. 1111 0010 c. 1110 1001 d. 1101 0101
3. a. -13 b.-28 c.23 d. 23
4. a. 15 b.3 c.20 d. 28
Practice 2.6
1. a. 1.01 b. 10.101c. 11.001 d. 101.011
2. a. 3.625 b. 1.825 c. 7.6875 d.2.46875
4. a. 10.1 b. 10.01 c.10.011 d. 10.010111
5. a. 12.73 b.23.41 c.1.445 d. 0.22
Practice 2.7
1. a. 0100001100111000000000000000000
b. 0100010010101001010110000000000
c. 0000111001101101100000000000000
2. a. 0100000111000110000000000000000
b. 0100010000000100111100000000000
c. 0100010001011111011011000000000
3. a. -1.101011x226 b. 1.0110111011x212 c. -1.11101101011x215 d. 1.011011x215
Practice 2.8
1. a. 0100 0010 0100 0001 0100 0111 b. 0100 0010 0110 0001 0110 0111
c. 0110 1110 0110 1111 0111 0111 d. 0100 0011 0101 0000 0101 0101
6. 14
7. a. Rbgnnk b. dmfhmddghmf
c. Bnlotsdqr d. dmbqxoshnm
11. a. 111011011100110000000000110110
b. 0100000000100110110000
12. a. 3% a. 31%
Review
1. a. 1, 2, 10, 11, 12, 20, 21, 22, 100, 101, 102, 110, 111, 112, 120
b. 1, 2, 3, 4, 10, 11, 12, 13, 14, 20, 21, 22, 23, 24, 30
c. 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15
d. 1,2,3,4,5,6,7,8, 9,A,B,10,11, 12
2. a. 127, 137, 147, 157, 167
b. 235, 245, 305, 315, 325
c. 1435, 1445, 2005, 2015, 2025
d. 213, 223, 1003, 1013, 1023
3. a. 3418, 3408, 3378, 3368, 3368
b. 436, 426, 416, 406, 356
c. 2134, 2124, 2114, 2104, 2034
d. 1214, 1204, 1134, 1124, 1114,
4. U: 1011, 1100, 1101, 1110, 1111
D: 1011, 1010, 1001, 1000, 0111
5. a. 222 b. 101 c. 35 d. 28 e. 20
6. a. 11 b. 73 c. 313 d. 1836 e. 3075
7. a. 101002, 1416 b. 1110002, 3816
c. 11010112, 6B16
d. 1100 11012, CD16
e. 1111 01112, F716
8. a. 111100 b. 100001011 c. 1110000 d. 101010010 e. 110111000
9. a. 10100001 b. 11000 c. 11111000100 d. 110010101001 e. 111111010000
10. a. 3B b. 6A c. 8E d. D8 e. 1DC
11. a. 67 b. 33 c. 7455 d. 7152 e. 6761
12. a. 2.5 b. 6.75 c. 14.375 d. 23.6875
13. a. 111.1 b. 1100.001 c. 1001.101 d. 23.6875
14. a. 458, 2516 b. 3678, F716 c. 1368, 5E16 d. 5358, 15D16
15. a. 1111 b. 10000 c. 100110 d. 1100010
16. a. 1000 b. 10 c. 10100 d. 101
17. a. 100001 b. 11100 c. 1111 d. 10100001
18. a. 1101R 0 b. 1110 R 1 c. 10011 R 1 d. 1001 R 10
19. a. 1101.1 b. 10.11 c. 101.001 d. 111.101
Practice 3.3
1. a.
p |
q |
pq |
pq+q |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
b.
p |
q |
p+q |
(p+q)∙q |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
c.
p |
q |
q' |
q'∙p |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
1 |
Practice 3.4
1. a.
p |
q |
r |
p∙q |
(p∙q)+r |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
b.
p |
q |
r |
p+r |
(p+r)q |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
Practice 3.6
1. a. 1000010, 1011111, 0011101
b. 001000, 111111, 110111
c. 1100000, 1111101, 0011101
d. 00100100, 10111111, 10011010
2. a. 101101 b. 001000 c.111111
d. 100000
3. a. 010110111 b.000011100101
c. 010100111011011
4. a. 010001101001 b.010011001010
c. 0100 1111 0111 1000
Review
1. a. 1 b. 1 c. 1 d. 0 e. 0
2. a. This is not a leap year.
b. It rains in the city.
c. Summer is not warmer than winter
d. 7 - 5 ≠ 4
3. a. I do not leave home at 8:00.
b. I do not arrive at school on time.
c. I leave home at 8:00 and arrive at school on time.
4. d.
p |
q |
q’ |
pq’ |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
5 a. Alex walks to school and Alex runs to school.
e. Alex does not take the bus to school, but Alex walks to school or Alex runs to school.
6. a. 1 b. 1 c. 0 d. 1 e. 0 f. 0 g. 1 h. 1 l. 1 j. 0 k. 0 l.1
10. a. 1010100, 1011111, 0001011
b. 0001010, 1111111, 1110101
c. 0000010, 1110011, 1110001
d. 010000, 111111, 101111
11. a. 01000010 b.10100110
c. 11101100 d.11100011
13. a. 4 b. 8 c. 32 d. 256
Chapter 4
Practice 4.1
3. a. 10 Ω b. 2/3 Ω c. 3.2 Ω
5. 9.6W
9. a. I4 = I1 + I2 + I3 b. I4 + I2 = I1 + I3 + I5
10. a. IT =0.4A, Vbe =5 V, Vab = 7 V
Practice 4.2
1. a. 65 Ω b. 24 kΩ c. 1 MΩ d. 64 kΩ
Practice 4.4
1. a. 1 b. 0 c. 1 d. 1
2. a. 1 b. 0 c. 0 d. 1
Practice 4.7
1. a. 4.8x103 b. 9.6x108 c. 7.98x109
Review
2. a. 5Ω b. 6V c. 0.17A
4. a. 10Ω b. 1.6Ω c. 8Ω
5. 3.67 Ω
6. 3.33 Ω
7. 60W
9. a. I1 =0.2A, I2 =0.1A, V1 =3V
b. I1 =0.4A, I2 =0.6A, V1 =9V
10. a.
p |
q |
out |
0 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
b.
p |
q |
out |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
c.
p |
q |
out |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
d.
p |
q |
out |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |