You are on page 1of 3

ECTE 233 Tutorial 01 Questions

ECTE233 Tutorial 01
1. Convert the following numbers as indicated:
(a) 101101112 to hex
(b) 1740038 to binary
(c) 10100.11012 to hex
(d) 67.248 to binary
(e) F3A516 to binary

(f) 15C.3816 to binary


(g) 110110012 to octal
(h) 101111.01112 to octal

2. Convert the following numbers to decimal:


(a) 101101112 =
(b) 10100.11012=
(c) 120103=
(d) 71568 =
(e) 1740038=
(f) 67.248=
(g) F3A516=
(h) AB3D16=
(i) 15C.3816 =

3. Convert the following Octal numbers to hex

(a) 12348=
(b) 1746378 =

(c) 3655178 =

(d) 25353218 =

(e) 7436.118 =

(f) 45316.74148 =

1
ECTE 233 Tutorial 01 Questions

4. Convert the following decimal numbers to the stated formats. If not possible, simply
write N/A:

4-bit 8-bit 8-bit ONES 8-bit TWOS 16-bit TWOS


unsigned unsigned complement complement complement
2
14
126
127
128
129
1000
-3
-126
-127
-128
-129

5. Calculate the following for 2’s complement numbers and determine if the answer is
correct.
(a) 10011011 − 11011001
(b) 11011000 − 10000110

6. Perform the arithmetic operations (+36) + (-24) and (-35)-(-24) in binary using signed
2s complement representation for negative numbers.

7. The following binary numbers have a sign in the leftmost position and if negative, are
in 6-bit 2s complement form. Perform the indicated arithmetic operations and verify
the answers.

(a) 100111+111001
(b) 001011+100110
(c) 110001- 010010
(d) 101110 - 110111

8. Convert the followings:


(a) (673.6)8 to binary and hex
(b) (E7C.B)16 to binary and octal
(c) (310.2)4 to binary
(d) (0100 1000 0110 0111)BCD to decimal and binary
(e) (0011 0111 1000.0111 0101)BCD to decimal and binary

2
ECTE 233 Tutorial 01 Questions

9. Add together

10110010 10110010
11011101 01001101

10. Subtract the following and check for correct answers by converting to decimal

10111011 01011011
01110001 10000011

11. Fill the missing numbers:

Dec 16 22 26 31

Bin 1 0000 1 0001 1 0100 1 0111 1 1011

Oct 20 22 30 31 35

Hex 10 13 15 1C 1E

Dec Bin Oct Hex

101110001.0101

189.625 BD.A

326.5

F3C7.A

12. Write the following numbers in 8-bit, 2’s complement where possible.

12
-1
-45
200
-129
-36
120

You might also like