title: Explain to me this solved matrix normalization exercise?
body: <p>We have a 1024*1024 matrix with 32 bit numbers that is going to be normalized. Suppose that the size of the page in the virtual memory is 4KB and we allocate 1 MB of main memory to save the matrix while we are working. Suppose that we need 10 ms to upload a page from the disc.</p>
  
  <p>a) Suppose that we work with the matrix one column at a time. How many page faults will be caused to traverse all the matrix elements, if they are saved in the virtual memory by column?</p>
  
  <p>The answer is 1024, but I don't understand why this is?</p>
  
  <p>b) What if we work by row not by column?</p>
  
  <p>The answer for this is 1024 page faults*2*1024</p>
  
  <p>How do we get both of these answers,can you explain these to me?</p>