Skip to main content
Logo image

Dive Into Systems: Exercises

Section 11.2 Storage Devices

Checkpoint 11.2.1. Storage Technologies.

For each of the following storage types, indicate whether it typically uses SRAM or DRAM.

(a)

    CPU Caches:
  • SRAM
  • Correct!
  • DRAM
  • Incorrect.

(b)

    Main Memory:
  • SRAM
  • Incorrect
  • DRAM
  • Correct!

(c)

    Registers:
  • SRAM
  • Correct!
  • DRAM
  • Incorrect.

Checkpoint 11.2.2. CPU Cache Memory.

    Which of the following is true about a CPU cache? Select ALL that apply.
  • It is faster to access than registers.
  • Incorrect
  • It is generally composed of multiple layers.
  • Correct
  • It is explicitly controlled by the programmer.
  • Incorrect
  • It is part of primary storage.
  • Correct
  • It is accessed via the memory bus.
  • Incorrect

Checkpoint 11.2.3. I/O Controller.

    Accessing which of the following requires going through the I/O controller?
  • Hard Disk Drives (HDDs)
  • Correct!
  • Solid State Drives (SSDs)
  • Correct!
  • Main Memory
  • Incorrect.
  • CPU Cache
  • Incorrect.

Checkpoint 11.2.4. Random Access Memory.

    Which of the following statements about RAM are true?
  • RAM stores data for a long time (typically years).
  • Incorrect.
  • Data stored in RAM will remain after power is turned off.
  • Incorrect.
  • RAM means addresses can be accessed in any order.
  • Correct!
  • Traditionally, RAM stores read-only data.
  • Incorrect.
  • The term RAM is commonly used to refer to the main memory of a computer.
  • Correct!
Hint.
Review: See Ch 11.2.1: Primary Storage
 1 
diveintosystems.org/book/C11-MemHierarchy/devices.html#_primary_storage