# HW#2 - Computer Science Fundamentals

1. Suppose we wanted to use 3 bytes to represent integers. What range of integers
could we represent with 3 bytes assuming we wanted to represent both negative and positive
integers?

2. How many bits are there in each of the following quantities?

a. 2.5 MB

b. 23.5 KB

c. 500 KB

d. 64 GB

3. Convert the following numbers from binary to base 10.

a. 0011

b. 1010

c. 01110110

4. Convert the following numbers from octal to base 10.

a. 0723

b. 73463422

c. 02523737

5. Convert the following numbers from hexadecimal to base 10.

a. 3A79

b. 6F89ED01

c. 9FD9C238

6. Your cable modem is rated to receive data at 10 Mbps. How long would it take to download 30 MB of data?

7. How many bits can be written to a 4.7 GB capacity DVD?*

8. An operating system is being developed for use in the control unit of an industrial machine. For efficiency, it is decided that any command to the machine will be represented by a combination of four characters, and that only eight distinct characters will be supported. What is the minimum number of bits required to represent one command?**

9. Convert the following phrase from **decimal** to text characters using the ASCII
conversion chart. Be precise.

87 104 97 116 32 100 111 101 115 110 39 116 32 107 105 108 108 32 117 115 44 32 109 97 107 101 115 32 117 115 32 114 101 97 108 108 121 32 115 105 99 107 46

**CDs and DVDs use proper methodology for indicating storage capacity. It is only hard drive manufacturers that use the wrong numbers on labeling as we discussed in class.*

***This question came from an old FE exam.*

## Submittal Instructions:

1. Copy the text of this page to a Word or text document. Show
your answers either in blue or italic.

2. Upload your document via Learning Suite.

###