EKT 121 – Digital Electronics I TUTORIAL 1 1. What is the largest

advertisement
EKT 121 – Digital Electronics I
TUTORIAL 1
1.
What is the largest binary number that can be expressed with 12 bits? What is
the equivalent decimal and hexadecimal?
2.
Write the binary number from :
a. 100 2 to 1000 2
b. 10112 to 101012
3.
Express the following numbers in decimal :
a. 10110.01012
b. 16.516
c. 26.24 8
4.
Write the hexadecimal numbers from :
a. DD16 to 10116
b. EFD16 to F1016
5.
Add and multiply the following numbers without converting them to decimal :
a. 10112 and 1012
b. 2E16 and 3416
6.
Octal
36
Complete the chart below :
Hexadecimal
Binary
Decimal
BCD
A9
10010
99
1100111
7.
Decode the following ASCII code :
1001010 1100001 1101110 1100101 0100000 1000100 1101111 1100101
8.
Add in binary :
a.
b.
c.
d.
9.
Subtract in binary :
a.
b.
c.
d.
10.
10012 − 110 2
101012 − 1110 2
11012 − 100100 2
10010100 2 − 1010010 2
Perform the following binary multiplications :
a.
b.
c.
d.
e.
f.
11.
10012 + 11012
12 + 10112 + 10012
10010 2 + 1100 2 + 111012
100012 + 11012 + 101012
11× 11
100 × 10
111× 101
1001× 110
1101× 1101
1110 × 1101
Divide the binary numbers as indicated :
a. 100 ÷ 10
b. 1001 ÷ 11
c. 1100 ÷ 100
12.
Determine 1’s and 2’s complement of each binary number :
a.
b.
c.
d.
e.
f.
13.
101
110
1010
11010111
1110101
00001
Express each decimal number as an 8-bit number in the 1’s complement form :
a.
b.
c.
d.
-34
+57
-99
+115
14.
Express each decimal number as an 8-bit number in the 2’s complement form :
a.
b.
c.
d.
+12
-68
+101
-125
Download