Homework 1


When you complete this homework you should
Answer each, show all work including computations. If you use any sources, be sure that you reference these sources.
  1. [3 points] Represent 37 in binary, octal and hexadecimal (hex).
  2. [1 points] Why are numbers represented in binary in a computer?
  3. [1 points] Why are hex and octal representations of numbers used in computer science?
  4. [1 point each] Represent each number in decimal
    1. 10110102
    2. 3CAF16
    3. 47308
  5. [1 points each] Represent the following in 4 bit two's compliment.
    1. -1
    2. -8
  6. [1 points each] Convert the following 5 bit two's compliment numbers to decimal
    1. 01011
    2. 10000
    3. 10101
    4. 00000
  7. [1 point each] Define the following as they relate to computer architecture
    1. Register
    2. Central Processing Unit (CPU)
    3. Arithmetic logic unit (ALU)
    4. Hertz
  8. [2 points] State and describe the actions that occur at each step of the fetch-decode-execute cycle. Include how each of the following are used