Problem Set: Bits and Bytes

 

  1. How many bits are in a byte?
  2. How many bits are in a hex digit?
  3. How many hex digits can be stored in a byte?
  4. How many ASCII characters can be stored in a byte?
  5. How many different values can be stored in a bit?
  6. How many different values can be stored in two bits?
  7. How many different values can be stored in three bits?
  8. How many different values can be stored in four bits?
  9. How many different values can be stored in n bits?
  10. How many different values can be stored in a byte?
  11. How many different values can be stored in two bytes?
  12. How many different values can be stored in four bytes?
  13. How many hex digits can be stored in four bytes?
  14. How many ASCII characters can be stored in four bytes?
  15. What is the largest base 2 number that can be stored in a byte? (give your answer in decimal, binary, and hex)
  16. What is the largest base 2 number that can be stored in two bytes? (give your answer in decimal, binary, and hex)
  17. What is the largest base 2 number that can be stored in four bytes? (give your answer in decimal, binary, and hex)
  18. What is the largest (positive) 2's complement number that can be stored in a byte? (give your answer in decimal, binary, and hex)
  19. What is the largest (positive) 2's complement number that can be stored in two bytes? (give your answer in decimal, binary, and hex)
  20. What is the largest (positive) 2's complement number that can be stored in four bytes? (give your answer in decimal, binary, and hex)

Email Me | Office Hours | My Home Page | Department Home | MCC Home Page

© Copyright Emmi Schatz 2021