Tut 1
Tut 1
: DEKC3643
UNIVERSITI TEKNIKAL ELECTRICAL ENGINEERING FACULTY
By: TC.Ma
MALAYSIA MELAKA
SUBJECT : AUTOMATION Issue No. / Rev : 1 / 1
TUTORIAL 1
1. Express each decimal number as an 8-bit number in the 2’s complement form:
a. +33
b. -27
c. +56
d. -110
2. Convert each pair of decimal numbers to binary and add using 2’s complement form:
a. 33 and 15
b. 56 and -27
c. -46 and 25
d. -110 and -84
5. Represent the decimal value 178 by its straight binary equivalent. Then encode the same
decimal number using BCD.
0100 1000 0100 0101 0100 1100 0100 1100 0100 1111