title: Memory Units, calculating sizes, help!
body: <p>I am preparing for a quiz in my computer science class, but I am not sure how to find the correct answers. The questions come in 4 varieties, such as-- </p>
  
  <p>Assume the following system:
  Auxiliary memory containing 4 gigabytes,
  Memory block equivalent to 4 kilobytes,
  Word size equivalent to 4 bytes.</p>
  
  <ol>
  <li>How many words are in a block,
  expressed as 2^_? (write the
  exponent)</li>
  <li>What is the number of bits needed to
      represent the address of a word in
      the auxiliary memory of this system?</li>
  <li>What is the number of bits needed to
  represent the address of a byte in a
  block of this system?</li>
  <li>If a file contains 32 megabytes, how
  many blocks are contained in the
  file, expressed as 2^_?</li>
  </ol>
  
  <p>Any ideas how to find the solutions? The teacher hasn't given us any examples with solutions so I haven't been able to figure out how to do this by working backwards or anything and I haven't found any good resources online. </p>
  
  <p>Any thoughts? </p>