CS 61C (Fall 2007)

Quiz 30

Four questions, submit as "quiz30".  Due 2:45pm before lecture 11/9/2007.


1.

True or False: Caches take advantage of spatial locality.

2.

True of False: On a read, the value returned by the cache depends on which blocks are in the cache.

3.

True or False: Most of the cost of the memory hierarchy is at the highest level.

4.

Which of the following levels of the memory hierarchy could reasonably be replaced by flash memory (similar to what is in a USB thumb drive these days)? Choose anywhere from zero to three answers.  Please explain very briefly.

You may wish to refer to the table on page 469 of P&H. Assume that flash memory has a typical read access time of 25-25,000ns, a write access time of 220,000-1,500,000ns and a cost of about $15 per GB.

  1. SRAM
  2. DRAM
  3. Magnetic Disk