Introduction
to Digital Logic and Computer Design
Chapter 2 Problems:
- 1. Convert the following numbers from the given base to the
other
bases listed:
Decimal |
Binary |
Octal |
Hexadecimal |
732.961 |
? |
? |
? |
? |
100110111.01111 |
? |
? |
? |
? |
237.1365 |
? |
? |
? |
? |
D1A7.B4 |
- 2. Add, subtract and multiply the following numbers without
converting to
decimal:
- A. 1100012 and 0101012
- B. 3148 and 1278
- C. 4CB16 and 2E16
- 3. The following binary numbers have a sign in the leftmost
position and,
if negative, are in 2's complement form. Perform the indicated
arithmetic operation and verify the answers. Also indicate if there is
an overflow:
- A. 011001 + 100011
- B. 001110 + 010100
- C. 010010 - 110110
- D. 000111 - 010011
- 4. Convert the following decimal numbers to the indicated bases using the
methods in Table 2-2 on page 31.
- A. 162.39 to Octal
- B. 2634.971 to Hexadecimal
- C. 972.43 to Binary
- 5. Determine the radix r for the following cases:
- A. (5532)r equals (4079)10
- B. (A7)r equals (187)10
- C. (3962)r equals (8192)10
- 6. Perform the binary division 11000101/110.
- 7. Represent the decimal numbers 716 and 429 in BCD,
and
then show the
steps necessary to form their sum.
- 8. Code the string Digital Logic
in ASCII and add an eighth
odd parity bit.
- 9. Write the Gray code sequence for counts 0 through
31