Question 3
- (a)Convert the following numbers to the stated bases:
- (i)125.62510 to binary;
- (ii)111011.100112 to octal.
- (b)Given that X = 11011011 and Y = 11101101,
- (i)construct the truth table for X.Y = Z;
- (ii)draw the logic gate of X.Y = Z;
- (iii)state the value of Z.
Observation
(a) (i) 125.62510 to binary
1st Step: 12510 to binary
2 |
125 |
R |
2 |
62 |
1 |
2 |
31 |
0 |
2 |
15 |
1 |
2 |
7 |
1 |
2 |
3 |
1 |
2 |
1 |
1 |
2 |
0 |
1 |
Therefore 12510 = 11111012