1. Home
  2. Explore
  3. Computer Science
  4. Computer Memory and Storage

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Computer Memory and Storage

  • 111Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Memory Hierarchy
A computer keeps applications and files persistently on
and hard drives, then transfers needed data into faster memory while they run.

111 questions

  1. 1
    A computer keeps applications and files persistently on
    _____
    and hard drives, then transfers needed data into faster memory while they run.
    Hint

    These storage devices retain files when the computer is powered off.

    Answer

    SSDs

  2. 2
    When a game is running, its data may be loaded into DRAM and the graphics card's
    _____
    so the computer can access data needed for gameplay.
    Hint

    This is the graphics card's memory.

    Answer

    VRAM

  3. 3
    The key reason computers use many different memory and storage locations is that each type makes a different trade-off among capacity, access time, bandwidth, and
    _____
    .
    Hint

    This attribute describes how expensive a memory technology is.

    Answer

    cost

  4. 4
    Hard drives and SSDs typically offer high storage capacity at low cost, but have relatively poor access times and
    _____
    .
    Hint

    This attribute describes how much data can be transferred per unit of time.

    Answer

    bandwidth

  5. 5
    CPU cache memory offers very fast access and high bandwidth, but it is expensive and stores relatively little
    _____
    .
    Hint

    This is what memory locations hold.

    Answer

    data

  6. 6
    A computer combines the strengths of different memory locations by using memory controllers and algorithms to
    _____
    data between them.
    Hint

    Think of the action required to transfer information from one level to another.

    Answer

    move

  7. 7
    In the book visualization, 1 megabyte of data is represented by approximately
    _____
    pages of text.
    Hint

    The comparison uses a book with several hundred pages.

    Answer

    400

  8. 8
    In the visualization, a request's access time is represented by the distance between the requester and the data, using 20 centimeters for each
    _____
    .
    Hint

    This is the small unit of time used for fast memory access.

    Answer

    nanosecond

  9. 9
    A conventional memory hierarchy places registers and cache at the top, DRAM in the middle, and SSDs and hard drives
    _____
    .
    Hint

    These storage devices have greater capacity but slower access than memory higher in the hierarchy.

    Answer

    below that

  10. 10
    In addition to local memory and storage, the hierarchy can include the internet and other
    _____
    .
    Hint

    These may be connected to the computer but are not necessarily part of it.

    Answer

    devices

  11. 11
    The amount of data available across the internet is estimated in the content at approximately 500
    _____
    .
    Hint

    This is an extremely large data unit, above petabytes.

    Answer

    exabytes

  12. 12
    The time to retrieve internet data varies with the distance a request and its response travel; a nearby-city round trip takes about
    _____
    milliseconds.
    Hint

    This is the smaller of the two stated internet latency examples.

    Answer

    12

  13. 13
    Sending and receiving data across the Earth takes about
    _____
    of a second on average.
    Hint

    This is approximately twice the time light would take to travel the same distance.

    Answer

    a quarter

  14. 14
    The CPU in the example has 8 performance cores and
    _____
    efficient cores.
    Hint

    The efficient-core count is twice the performance-core count.

    Answer

    16

  15. 15
    Registers, L1 cache, and L2 cache are divided among individual CPU cores, while L3 cache is
    _____
    among all the cores.
    Hint

    Unlike the smaller cache levels, this level is available to all cores.

    Answer

    shared

  16. 16
    Registers and caches occupy approximately
    _____
    of the CPU die in the example.
    Hint

    This is slightly less than one-third.

    Answer

    30%

  17. 17
    The CPU's registers and caches can hold approximately
    _____
    megabytes in total in the example.
    Hint

    This total includes cache capacity as well as register storage.

    Answer

    68

  18. 18
    The example CPU's shared L3 cache holds
    _____
    megabytes.
    Hint

    This is the largest cache level in the example.

    Answer

    36

  19. 19
    In the access-time visualization, CPU registers are about a third of a
    _____
    from the ALU calculators.
    Hint

    This is the unit used for extremely short access times.

    Answer

    nanosecond

  20. 20
    The shared L3 cache is shown about
    _____
    nanoseconds from the ALU calculators in the CPU visualization.
    Hint

    This access time is much longer than the register access time.

    Answer

    7.5

  21. 21
    Two 16-gigabyte DRAM sticks provide
    _____
    gigabytes of capacity, about 470 times the example CPU's capacity.
    Hint

    Combine the capacity of both sticks.

    Answer

    32

  22. 22
    Moving data between the CPU and DRAM takes approximately
    _____
    nanoseconds in the example.
    Hint

    This is the typical access time stated for the main memory.

    Answer

    45

  23. 23
    The example GPU has roughly
    _____
    individual cores, which affects how its memory is distributed.
    Hint

    This is a much larger core count than the CPU has.

    Answer

    10,000

  24. 24
    The GPU's registers, L1 cache, and L2 cache together hold approximately
    _____
    megabytes in the example.
    Hint

    This is close to, but slightly more than, the CPU's 36-megabyte L3 cache.

    Answer

    37

  25. 25
    The example graphics card has
    _____
    gigabytes of VRAM.
    Hint

    This memory is located on the graphics card near the GPU.

    Answer

    24

  26. 26
    The example GPU is about
    _____
    nanoseconds from its VRAM, in part because VRAM is designed to prioritize bandwidth.
    Hint

    This is longer than the example CPU-to-DRAM access time.

    Answer

    250

  27. 27
    Requesting and sending data between the CPU and GPU takes an average of about
    _____
    nanoseconds in the example.
    Hint

    The visualization represents this as a 60-meter separation.

    Answer

    300

  28. 28
    The example NVMe SSD, SATA SSD, and hard drive store approximately 2 million, 4 million, and
    _____
    million books, respectively.
    Hint

    The hard drive has the largest book-equivalent capacity.

    Answer

    8

  29. 29
    The example NVMe SSD is shown with a capacity of
    _____
    million books.
    Hint

    It is represented by 2,000 bookshelves, each holding a gigabyte.

    Answer

    2

  30. 30
    The example SATA SSD holds
    _____
    million books across 4,000 bookshelves.
    Hint

    Its book capacity is twice that of the example NVMe SSD.

    Answer

    4

  31. 31
    In the visualization, the NVMe SSD and SATA SSD are positioned 16 and 24 kilometers away, corresponding to access times of 80 and
    _____
    microseconds.
    Hint

    This is the longer access time of the two SSDs.

    Answer

    120

  32. 32
    A 2-terabyte NVMe SSD contains a memory controller, DRAM, and a pair of
    _____
    NAND Flash chip packages.
    Hint

    This flash technology stacks memory cells in layers.

    Answer

    3D

  33. 33
    In the example SSD, each NAND package contains a stack of
    _____
    dies connected by wires to a substrate.
    Hint

    This is the number of silicon layers described in the package.

    Answer

    8

  34. 34
    A single flash die contains multiple
    _____
    ; each one holds a large array of memory cells.
    Hint

    These are subdivisions within a die.

    Answer

    planes

  35. 35
    The example flash array is approximately 40,000 strings wide, 60,000 rows deep, and
    _____
    layers tall.
    Hint

    This is the number of vertically stacked layers in the example.

    Answer

    200

  36. 36
    The flash array can store more than 100 gigabytes in less than the volume of a grain of rice, at a cost of about
    _____
    cents per gigabyte.
    Hint

    This is a single-digit cost per gigabyte.

    Answer

    7

  37. 37
    The example flash memory cell, which stores data by trapping charge, is called charge-trap
    _____
    .
    Hint

    This word completes the name of the cell technology, abbreviated CTF.

    Answer

    flash

  38. 38
    A CTF cell represents 3 bits by storing one of
    _____
    distinct amounts of charge.
    Hint

    Three binary bits can represent this many possible states.

    Answer

    eight

  39. 39
    In a CTF cell, electrons are held in a charge trap surrounded by an insulating
    _____
    .
    Hint

    This insulating material helps confine the stored charge.

    Answer

    dielectric

  40. 40
    Because a CTF cell lacks a direct electrical connection to its stored electrons, reading and writing require a complex sequence of
    _____
    steps.
    Hint

    These electrical steps control the cell during data access.

    Answer

    voltage

  41. 41
    The example NVMe SSD has a read time of about 80 microseconds, a write time near 500 microseconds, and bandwidth of about
    _____
    gigabytes per second.
    Hint

    This is the stated SSD bandwidth, not its access time.

    Answer

    5

  42. 42
    Even with a CPU core placed beside a CTF array, its access time would remain close to
    _____
    microseconds because the storage medium itself is limiting.
    Hint

    This is the stated read time for the example CTF-based SSD.

    Answer

    80

  43. 43
    SATA SSDs use similar chips and 3D NAND Flash, but their older data-transfer protocol results in longer access times and lower
    _____
    than NVMe SSDs.
    Hint

    This describes the rate at which data can be transferred.

    Answer

    bandwidth

  44. 44
    The example hard disk drive contains four platters and eight read-write heads controlled by a
    _____
    motor.
    Hint

    This motor moves the heads across the disk surface.

    Answer

    voice-coil

  45. 45
    Data on a hard drive platter is organized in concentric circles called
    _____
    .
    Hint

    These circular paths contain the disk's sectors.

    Answer

    Tracks

  46. 46
    An HDD sector includes a preamble or synchronization zone, an address, 4 kilobytes of data, an error-correcting code, and
    _____
    between sectors.
    Hint

    These separate adjacent sectors.

    Answer

    gaps

  47. 47
    Hard drives write data by using focused magnetic fields to manipulate magnetic
    _____
    in the platter.
    Hint

    These are nanoscale regions whose magnetic state carries information.

    Answer

    domains

  48. 48
    The hard drive's read head interprets a change in magnetic field between domains as 1 and no change as
    _____
    .
    Hint

    This is the other binary value.

    Answer

    0

  49. 49
    Hard drives can store terabytes at a low cost, around one or two cents per gigabyte, because their platters are layers of material on a disk rather than complex
    _____
    structures.
    Hint

    Flash memory uses this kind of intricate electronic structure.

    Answer

    semiconductor

  50. 50
    An HDD has long access times partly because its head must physically seek the correct platter location while the disk
    _____
    .
    Hint

    The platter's rotational motion continues as the head moves.

    Answer

    spins

  51. 51
    At 7,200 RPM, a hard drive platter completes one rotation in approximately
    _____
    milliseconds.
    Hint

    This is close to one hundredth of a second.

    Answer

    8.3

  52. 52
    A DRAM stick's eight chips connect to the CPU through the motherboard's memory channels and are managed by the CPU's
    _____
    controller.
    Hint

    This controller manages communication with main memory.

    Answer

    memory

  53. 53
    The example DRAM chip contains 32 banks, each with an array of approximately 65,000 by
    _____
    memory cells.
    Hint

    This is the approximate number of cells in the shorter array dimension.

    Answer

    8,000

  54. 54
    A DRAM memory cell is built from one transistor and one capacitor, a design known as
    _____
    .
    Hint

    The abbreviation counts the transistor and capacitor in each cell.

    Answer

    1T1C

  55. 55
    In a DRAM cell, the capacitor stores one bit as electrical
    _____
    , while the transistor provides access to it.
    Hint

    This electrical property fades over time in DRAM.

    Answer

    charge

  56. 56
    To read or write DRAM, the CPU specifies a bank and row, turning on every transistor in that row and connecting the capacitors to
    _____
    amplifiers.
    Hint

    These circuits measure the voltage stored in the capacitors.

    Answer

    sense

  57. 57
    DRAM access takes around 45 nanoseconds and provides typical bandwidth of about
    _____
    gigabytes per second.
    Hint

    This is the stated bandwidth for the example main memory.

    Answer

    48

  58. 58
    DRAM's 1T1C array is usually confined to a 2D plane, which leads to lower bit density and higher cost per
    _____
    .
    Hint

    This is the unit of information whose storage cost is being compared.

    Answer

    bit

  59. 59
    CPU cache memory is built from SRAM cells that use
    _____
    transistors per bit.
    Hint

    This is more transistors per bit than DRAM uses.

    Answer

    6

  60. 60
    The example's 36-megabyte L3 cache requires about
    _____
    billion transistors for its storage cells.
    Hint

    This illustrates why even a few dozen megabytes of cache use substantial chip area.

    Answer

    1.8

  61. 61
    Including other cache levels and address storage, approximately one-third of the CPU's 26 billion transistors are dedicated to
    _____
    .
    Hint

    This fast memory has high transistor cost and limited capacity.

    Answer

    cache

  62. 62
    CPU registers store bits in
    _____
    and use about 16 transistors per bit.
    Hint

    This circuit stores a bit using a clocked state.

    Answer

    D-Flip-Flops

  63. 63
    A typical CPU register is
    _____
    bits wide.
    Hint

    This width is commonly associated with modern desktop processors.

    Answer

    64

  64. 64
    Each processing core in the example has
    _____
    registers, or entries, in its register file.
    Hint

    This number is encoded using five address bits.

    Answer

    32

  65. 65
    Registers are designed to be accessed in a single clock cycle, approximately a third of a
    _____
    in the example.
    Hint

    This unit is used for very short processor access times.

    Answer

    nanosecond

  66. 66
    Adding more register entries would require larger decoder circuitry and more access ports, potentially forcing a slower
    _____
    speed.
    Hint

    This processor timing rate affects how quickly instructions execute.

    Answer

    clock

  67. 67
    The example's 32 registers are identified using
    _____
    bits in the instructions.
    Hint

    This many binary bits can select 32 distinct entries.

    Answer

    5

  68. 68
    Registers sit directly beside the execution units and the arithmetic logic unit, where calculations and logic operations are performed; the
    _____
    stores data currently ready for these operations.
    Hint

    Execution units can only work directly on data held in this location.

    Answer

    registers

  69. 69
    If data needed for a calculation is not in a register, it must be fetched from cache, main memory, or storage and gradually moved into the
    _____
    .
    Hint

    This is the final, directly accessible location before execution.

    Answer

    registers

  70. 70
    DRAM must be refreshed because its capacitors quickly lose their stored
    _____
    .
    Hint

    This is the electrical state used to represent DRAM bits.

    Answer

    charge

  71. 71
    Without power, DRAM loses all its data in approximately
    _____
    of a second.
    Hint

    This is a fraction of a second.

    Answer

    a tenth

  72. 72
    An AI processor may execute petaflops of calculations and require roughly
    _____
    orders of magnitude more memory and storage than a typical desktop computer.
    Hint

    This represents about a hundredfold difference.

    Answer

    two

  73. 73
    A single AI server can contain terabytes of memory and hundreds of
    _____
    of storage.
    Hint

    This is the same data unit used for the memory amount in the sentence.

    Answer

    terabytes

  74. 74
    Although ordinary text may occupy only a few hundred bytes, AI represents each word using roughly 2,000 to 8,000 dimensions or
    _____
    .
    Hint

    Each dimension is a numerical component of the word's representation.

    Answer

    values

  75. 75
    For simplicity, the content treats one word as one token and assigns each token
    _____
    dimensions.
    Hint

    This is the upper end of the stated range of dimensions per word.

    Answer

    8,000

  76. 76
    A token's dimensions can encode attributes such as temperature and
    _____
    .
    Hint

    This attribute describes how big or small a word or token is.

    Answer

    size

  77. 77
    When each of a token's 8,000 dimensions occupies one byte, the token's representation takes
    _____
    kilobytes.
    Hint

    The number of bytes matches the number of one-byte dimensions.

    Answer

    8

  78. 78
    The maximum number of tokens an AI can handle is called its
    _____
    window.
    Hint

    This term describes the text and other material considered together by a model.

    Answer

    context

  79. 79
    The context window includes input text, prior conversations, the output, and other
    _____
    text.
    Hint

    This additional material can help provide information for the model's response.

    Answer

    reference

  80. 80
    For cutting-edge models, the context window described ranges from about 100,000 to a couple of
    _____
    tokens.
    Hint

    This is the upper scale of the stated token range.

    Answer

    million

  81. 81
    A context window of one million tokens, each represented by 8,000 dimensions, results in about
    _____
    gigabytes of data.
    Hint

    Multiply the number of tokens by the one-byte values per token, then convert to gigabytes.

    Answer

    8

  82. 82
    To generate a response, an AI feeds its context window through hundreds of
    _____
    blocks.
    Hint

    These model components contain attention and feed-forward sublayers.

    Answer

    transformer

  83. 83
    Transformer blocks can contain attention sublayers and feed-forward components, also called
    _____
    perceptron blocks.
    Hint

    This term describes a perceptron made of several layers.

    Answer

    multilayer

  84. 84
    Some transformer blocks use variations of
    _____
    -of-experts blocks.
    Hint

    This architecture combines specialized expert components.

    Answer

    mixture

  85. 85
    State-of-the-art AI models can be built from hundreds of billions of learned
    _____
    .
    Hint

    These learned numerical values define the model's behavior.

    Answer

    parameters

  86. 86
    Because the context and model values must be continuously moved to and from AI processors, AI requires enormous amounts of
    _____
    .
    Hint

    This resource holds data that processors are actively using.

    Answer

    memory

  87. 87
    In the AI memory hierarchy, the near-memory tier closest to the AI chip is high-bandwidth memory, abbreviated
    _____
    .
    Hint

    This memory tier is located next to the processor and prioritizes high data throughput.

    Answer

    HBM

  88. 88
    The AI memory hierarchy described includes
    _____
    and HBM4 in its near-memory tier.
    Hint

    This is the earlier of the two HBM generations named.

    Answer

    HBM3e

  89. 89
    The main-memory layer in the AI server uses DDR5 server
    _____
    sticks.
    Hint

    This is the type of server memory module named in the content.

    Answer

    RDIMM

  90. 90
    The example AI system uses 32 DDR5 RDIMMs, each containing 128 gigabytes, for a total of
    _____
    terabytes of memory.
    Hint

    Multiply the capacity of each stick by the number of sticks.

    Answer

    4

  91. 91
    AI systems can expand server memory capacity using the
    _____
    protocol, or Compute Express Link.
    Hint

    Its initials stand for Compute Express Link.

    Answer

    CXL

  92. 92
    Some AI systems use
    _____
    memory, similar to the memory in phones, to provide higher bandwidth with low-power performance.
    Hint

    This memory type is designed for lower power use.

    Answer

    LPDDR

  93. 93
    The described HBM3E is built from a
    _____
    -high stack of DRAM dies.
    Hint

    This is the number of vertically stacked dies in each package.

    Answer

    12

  94. 94
    Through-silicon vias, abbreviated TSVs, connect the stacked DRAM
    _____
    inside an HBM package.
    Hint

    These are the individual silicon layers in the stack.

    Answer

    dies

  95. 95
    The HBM stacks and AI processor sit on an
    _____
    that provides dense wiring between them.
    Hint

    This thin silicon substrate acts like a bridge or mini-motherboard.

    Answer

    interposer

  96. 96
    In the example system, six HBM packages provide
    _____
    gigabytes of memory around the AI processor.
    Hint

    This is the total HBM capacity stated for the six packages.

    Answer

    141

  97. 97
    Short, wide connections between the AI processor and HBM deliver about
    _____
    terabytes per second of bandwidth.
    Hint

    This is the HBM bandwidth given for the example system.

    Answer

    1.2

  98. 98
    HBM provides high bandwidth and low latency partly because its connections to the AI processor are short and
    _____
    .
    Hint

    These routes carry data over many parallel connections.

    Answer

    wide

  99. 99
    The AI chassis described contains Micron 9650 series SSDs with capacities ranging from 8 to
    _____
    terabytes.
    Hint

    This is the upper end of the stated capacity range.

    Answer

    30

  100. 100
    The Micron 9650 series SSDs use the PCIe
    _____
    protocol to support demanding training and inference pipelines.
    Hint

    This is the generation of the PCIe protocol named in the content.

    Answer

    Gen6

  101. 101
    Networked data lakes in a separate rack use Micron's 6600 ION
    _____
    SSDs.
    Hint

    This storage interface is also used by the example desktop solid-state drive.

    Answer

    NVMe

  102. 102
    Each illustrated 6600 ION module contains up to
    _____
    terabytes of storage.
    Hint

    This is the capacity of the module shown in the example.

    Answer

    122

  103. 103
    Other 6600 ION form factors can reach as much as
    _____
    terabytes of storage.
    Hint

    This is roughly double the capacity of the illustrated module.

    Answer

    246

  104. 104
    Depending on chassis and SSD density, a full storage rack can hold dozens to hundreds of
    _____
    of data.
    Hint

    This data unit is larger than a terabyte.

    Answer

    Petabytes

  105. 105
    Very large networked SSD racks are well suited to holding training datasets containing billions of
    _____
    .
    Hint

    These are individual data items used to train a model.

    Answer

    examples

  106. 106
    AI is described as the most data-intensive workload in modern computing, so data centers must closely integrate multiple layers of memory and
    _____
    .
    Hint

    This paired resource includes SSDs and other persistent data systems.

    Answer

    storage

  107. 107
    As computing systems become more complex, their memory and storage solutions need to become more diverse and
    _____
    .
    Hint

    These solutions are tailored to particular functions or demands.

    Answer

    specialized

  108. 108
    Memory and storage sizes and access times in the examples are approximate because manufacturers rarely publish all their internal
    _____
    .
    Hint

    This abbreviated term refers to technical specifications.

    Answer

    specs

  109. 109
    The example SSD's approximate cell-array dimensions are intended to be realistic rather than an exact
    _____
    .
    Hint

    This would provide a precise design specification.

    Answer

    blueprint

  110. 110
    Other memory technologies mentioned include magnetic RAM and
    _____
    -change memory.
    Hint

    This technology's name refers to changes in the state of a material.

    Answer

    phase

  111. 111
    Memory technology continues to improve, so future devices are expected to offer greater capacity, faster access, and higher
    _____
    .
    Hint

    This measures the rate of data transfer.

    Answer

    bandwidth

1 of 111
Question 1 of 111

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent