Questions with complete solution
what is the memory trade off? - correct answer ✔price vs performance
the two kinds of memory - correct answer ✔RAM and ROM
RAM - correct answer ✔random access memory: two types; dynamic and
static
dynamic RAM - correct answer ✔(DRAM) cheap; old technology; simple
design and leaky capacitors that must be refreshed
static RAM - correct answer ✔(SRAM) consists of circuits similar to the D flip
flop; fast and does not need to be refreshed; used to build cache memory
ROM - correct answer ✔does not need to be refreshed; needs very little
charge to retain memory; used to store permanent stuff that stays even when
the system is turned off
which type of memory is stored closer to the CPU? - correct answer ✔faster
memory such as Cache (then RAM)
memory types in the hierarchy for this unit - correct answer ✔cache
main memory
virtual memory
, virtual memory - correct answer ✔(aka swap space) extends the address
space of the RAM onto the hard drive; provides more space, but is slower so
things are swapped into the RAM from here
cached memory - correct answer ✔found between the CPU and the main
memory; split into levels (L1,L2,...)
L1 vs L2 - correct answer ✔L1 is on the chip with the CPU and L2 is
separate
memory hierarchy - correct answer ✔registers
L1
L2
Main Memory
secondary memory (hard disk)
network storage
why is an entire block of data copied after a hit? - correct answer ✔because
of the principle of locality
principle of locality - correct answer ✔tells us that once a byte is accessed, a
nearby data element will be needed soon
three forms of locality - correct answer ✔temporal
spatial
sequential