CE En 270 - Homework #1

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 KB

 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 hexidecimal to base 10.

a. 3A79

b. 6F89ED01

c. 9FD9C238

6. Suppose you have a set of files where each file is 382 KB in size.  How many of these files could you write to a 640 MB CD?  (no partial files please - give your answer as an integer)

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

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

69 110 116 101 114 32 116 111 32 108 101 97 114 110 44 32 103 111 32 102 111 114 116 104 32 116 111 32 101 97 114 110 46 32 32 84 104 101 32 99 97 109 112 117 115 32 105 115 32 111 117 114 32 119 111 114 108 100 46

Submittal Instructions:

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

2. Click here to upload your homework assignment.