Computer
Architecture
Chapter 1 Problems:
- 1. Describe the difference between a digital and analog signal.
Give an example of each type.
- 2. How many different values can be represented with a single binary
digit? List the possible values.
- 3. How many bits are in a byte?
- 4. How many bits are in a Megabyte (MB)?
- 5. How many Megabytes are in a Gigabyte (GB)?
- 6. How many distinct values can be represented by a Byte? Two Bytes?
- 7. Suppose you are designing a controller for a new game system. Describe
a digital encoding for the direction pad that only uses, at most, four bits.
Note that there are 9 possible directions: up, down, left, right, up left,
up right, down left, down right, and centered.
- 8. Determine the number of combinations that can be represented using
the following number of bits.
- 9. Determine the minimum number of bits required to represent the
following numbers
- 10. Convert the following decimal numbers into binary using the division
method.
- A) 100
- B) 256
- C) 63
- D) 30
- 11. Converrt the following decimal numbers to hexadecimal using the division
method.
- A) 101
- B) 57
- C) 21
- D) 17
- E) 257
- F) 31
- 12. Convert the following hexadecimal numbers to decimal.
- A) 0x7E0
- B) 0xA11
- C) 0xCAB
- D) 0x80F
- E) 0x942D
- 13. Convert the following binary numbers to decimal and hexadecimal.
- A) 0101
- B) 11010011
- C) 00000001
- D) 10
- E) 1100
- F) 11111111
- 14. Convert the following hexadecimal numbers into binary using the
minimal number of bits possible.
- A) 0xFACE
- B) 0x1234
- C) 0xB1DE
- D) 0xF00D
- E) 0x1F