CDA 103
Tutorial Sheet-2
Group-1
1. Convert the decimal number 67 to BCD (Binary-Coded Decimal).
2. Convert the BCD number 1000 0101 to decimal.
3. Convert the decimal number 25 to Gray code.
4. Perform binary addition: 110111 + 101011.
5. Perform binary subtraction: 11001 - 10011.
6. Perform binary multiplication: 101 × 110.
7. Find the two’s complement of 1100 1010.
8. Convert the decimal number -15 to 8-bit two’s complement form.
9. Convert the 8-bit two’s complement number 1000 1100 to decimal.
10. In an 8-bit two’s complement system, add the following numbers and
determine if an overflow occurs. If an overflow occurs, explain why.
• A = 0110 1010
• B = 0101 1100
1
Tutorial Sheet-2
Group-1
1. Convert the decimal number 67 to BCD (Binary-Coded Decimal).
2. Convert the BCD number 1000 0101 to decimal.
3. Convert the decimal number 25 to Gray code.
4. Perform binary addition: 110111 + 101011.
5. Perform binary subtraction: 11001 - 10011.
6. Perform binary multiplication: 101 × 110.
7. Find the two’s complement of 1100 1010.
8. Convert the decimal number -15 to 8-bit two’s complement form.
9. Convert the 8-bit two’s complement number 1000 1100 to decimal.
10. In an 8-bit two’s complement system, add the following numbers and
determine if an overflow occurs. If an overflow occurs, explain why.
• A = 0110 1010
• B = 0101 1100
1