You are on page 1of 1

ECE314-T2–TLA1-(Cat2&Cat3)

Name: Catamora, ER Denice D.


Year and Course: ECE03

Answer the following items shown below. Answers can be computerized (font style Arial with
font size 11) or hand-written. The document size should be A4 and in PDF format.

1. Convert the binary number 0101010 2 to decimal.


2. Convert the decimal number 660 10 to binary.
3. Convert the hexadecimal number BCA 16 to decimal.
4. Convert the decimal number 321 10 to hexadecimal.
5. Encode the decimal number 1001 10 to BCD.
6. Convert the BCD number 100000010100 to decimal.
7. Represent the statement “X = 3+Y” in ASCII code. Attach an odd-parity bit.

Type or paste an image of your answers and solutions below:

1) 01010102 = 0 + (1x25) + 0 + (1x23) + 0 + (1x21) + 0 = 4210 (Decimal)


2) 66010 = 10100101002 (Binary)
3) BCA16 = 301810 (Decimal)
4) 32110 = 14116 (Hexadecimal)
5) 100110 = 0001 0000 0000 0001 (BCD)
6) 100000010100 = 81410 (Decimal)
7) X = 3+Y in ASCII code with odd-parity

Character HEX BINARY ASCII code w/ odd-


parity
X 58 1011000 1011000
Space 20 100000 100000
= 3D 111101 111101
Space 20 100000 100000
3 33 110011 1110011
+ 2B 101010 1101011
Y 59 1011001 11011001

You might also like