CPSC 105 Homework.  Due Monday 1/31



1. Convert the following binary numbers into decimal.  Show work.

 a. 10010
 b. 10001001
 c. 11101100
 d. 10001111
 e. 101010

2. Convert the following decimal numbers into binary.  Hint: form a 
   chart with all the powers of 2.

 a. 14
 b. 15
 c. 157
 d. 252
 

3. Determine the number of bits in "one megabyte" of memory.  You may
   use a calculator. 


4. Determine how many binary digits are required to represent the 
   following numbers:

 a. 7
 b. 8
 d. 255
 e. 256

5. What generalization can you conclude from the above exercise?