Homework (1)

advertisement
CE1110: Logic Design
Assignment # 1 (Chapter #1)
1. Find the binary, octal and hexadecimal numbers that correspond to (67.325)10.
2. Consider the number 10010111.1001 to answer the following questions
a- What is the decimal value if the above number is a binary number
b- What is the decimal value if the above number is a BCD number
c- What is the octal value if the above number is BCD
d- What is the hexadecimal value if the above number is binary
3. Find the 1’s and 2’s complements of the binary number 1000111 using 8 bits
4. What is the decimal equivalent of (F75)16.
5. Find the binary equivalent of (115.8)10, using 16 bits (equally split between integer and
fraction).
6. What is the decimal range of 7-bit unsigned binary number (from smallest to largest
numbers it can represent). What is the decimal range if 7-bit 2’s complement is used.
7. Perform the following binary operations using the 1’s complement and 2’s complement
formats and show the decimal value of the result.
a- 100111 – 101011
b- 1111011 – 1100011
Download