Homework 1
When you complete this homework you should
- have reviewed concepts from CSCI125.
Answer each, show all work including computations. If you use any sources, be sure that you reference these sources.
- [3 points] Represent 37 in binary, octal and hexadecimal (hex).
- [1 points] Why are numbers represented in binary in a computer?
- [1 points] Why are hex and octal representations of numbers used in computer science?
- [1 point each] Represent each number in decimal
- 10110102
- 3CAF16
- 47308
- [1 points each] Represent the following in 4 bit two's compliment.
- -1
- -8
- [1 points each] Convert the following 5 bit two's compliment numbers to decimal
- 01011
- 10000
- 10101
- 00000
- [1 point each] Define the following as they relate to computer architecture
- Register
- Central Processing Unit (CPU)
- Arithmetic logic unit (ALU)
- Hertz
- [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
- Program Counter (PC)
- Instruction Register(IR)
- Memory
- Control Unit (CU)
- Arithmetic Logic Unit (ALU)
- General Purpose Register(s)