Assignment: Introduction to Digital Logic
1. Solve the following using 8 bit, one's complement arithmetic:
a. (47 - 73)10:
b. (01 1101.01 - 01 0111.10)2:
c. (-36 - 53)8:
d. (153 - 131)10:
e. (-197 - 78)10:
2. Solve the following using 8 digit, nine's complement arithmetic:
a. (71303.2 - 84153.8)10:
b. (4931.85 - 8506.13)10:
c. (-809663- 559042)10:
d. (38043 - 42582)10:
e. (-914.2856 - 673.6987)10:
3. Solve the following using 8 bit, two's complement arithmetic:
a. (121 - 107)10:
b. (26.75 - 25.25)10:
c. (57 - 72)8:
d. (81 - 65)10:
e. (37 - 58)10:
4. Complete the table below with the appropriate portion of a 5-bit Gray code and give the equivalent hexadecimal value:
A
|
B
|
C
|
D
|
E
|
HEX
|
0
|
1
|
0
|
0
|
1
|
09
|
0
|
1
|
0
|
0
|
0
|
08
|
1
|
1
|
0
|
0
|
0
|
18
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5. Compute the even parity for the following:
a. (7BD3 8465)16:
b. (D68A A7B4)16:
c. (0587 FF39)16: