## PRACTICE PROBLEMS

(Note: Problem solutions are available at http://sites.google.com/site/automatedmanufacturingsystems/)

1. Why are binary, octal and hexadecimal used for computer applications?

2. Is a word is 3 nibbles?

3. What are the specific purpose for Gray code and parity?

4. Convert the following numbers to/from binary 5. Convert the BCD number below to a decimal number, 6. Convert the following binary number to a BCD number, 7. Convert the following binary number to a Hexadecimal value, 8. Convert the following binary number to a octal, 9. Convert the decimal value below to a binary byte, and then determine the odd parity bit, 10. Convert the following from binary to decimal, hexadecimal, BCD and octal. 11. Convert the following from decimal to binary, hexadecimal, BCD and octal. 12. Convert the following from hexadecimal to binary, decimal, BCD and octal. 13. Convert the following from BCD to binary, decimal, hexadecimal and octal. 14. Convert the following from octal to binary, decimal, hexadecimal and BCD. 15.

a) Represent the decimal value thumb wheel input, 3532, as a Binary Coded Decimal (BCD) and a Hexadecimal Value (without using a calculator).

i) BCD

b) What is the corresponding decimal value of the BCD value, 1001111010011011?

16. Add/subtract/multiply/divide the following numbers. 17. Do the following operations with 8 bit bytes, and indicate the condition of the overflow and carry bits. 18. Consider the three BCD numbers listed below. a) Convert these numbers to their decimal values.

b) Convert the decimal values to binary.

c) Calculate a checksum for all three binary numbers.

d) What would the even parity bits be for the binary words found in b).

19. Is the 2nd bit set in the hexadecimal value F49?

20. Explain where grey code occurs when creating Karnaugh maps.

21. Convert the decimal number 1000 to a binary number, and then to hexadecimal.