| English | 意味 |
|---|---|
| RAM/ræm/ | RAM(ランダムアクセスメモリ) |
| ROM/rɒm/ | ROM |
| volatile/ˈvɒlətaɪl/ | 揮発性 |
| non-volatile/nɒn ˈvɒlətaɪl/ | 非揮発性 |
| firmware/ˈfɜːmweə/ | ファームウェア |
| bootstrap/ˈbuːtstræp/ | ブートストラップ |
| SRAM/ˈesræm/ | 静的RAM |
| DRAM/ˈdiːræm/ | 動的RAM |
| flip-flop/flɪp flɒp/ | フリップフロップ |
| capacitor/kəˈpæsɪtə/ | コンデンサ |
| refreshed/rɪˈfreʃt/ | リフレッシュ |
| cache/kæʃ/ | キャッシュ |
| PROM/prɒm/ | プログラム可能ROM |
| EPROM/ˈiːprɒm/ | 消去可能プログラム可能ROM |
| EEPROM/ˌiːiːˈprɒm/ | 電気的消去可能プログラム可能ROM |
Memory woven by hand
- The Apollo Guidance Computer that flew to the Moon kept its programs in core rope memory: wires threaded by hand through or around tiny magnetic rings, one pass for a 1, the other for a 0.
- Once woven, nothing could be changed. It was read-only memory in its purest form, and it meant the flight software had to be finished months before launch.
- Its working data lived in a separate, erasable memory that lost everything when the power went.
- Every computer since has the same two kinds of main memory. This lesson is about telling them apart and choosing between them.
RAM and ROM
- RAM 随机存取存储器 (Random Access Memory) is volatile 易失性: its contents are lost when the power is off. It holds the operating system, the running programs and their data, and it is read and written constantly.
- ROM 只读存储器 (Read-Only Memory) is non-volatile 非易失性: it keeps its contents without power. It is written once, and in normal use it is only read.
- ROM holds the firmware 固件 and bootstrap 引导程序 that start the computer, or the whole program of an embedded system. RAM is large and can usually be increased; ROM is small and fixed.

RAM is volatile and read/write; ROM is non-volatile and read-only
デバイスおよびストレージ実験室
システム内で何の役割を果たすかによってコンピューティングの例を分類してください。
正しい記述はどれですか?
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
RAMは電源が切れると内容が失われる(揮発性)、ROMは内容を保持する(非揮発性)。
ROMは通常以下を保持します:
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
ROMは非揮発性で一度だけ書き込まれるため、起動ファームウェアを格納します。実行中のプログラムはRAMに存在します。
Worked example: two favourite questions
- Explain why a computer with more RAM performs better. It can hold more programs and data in memory at once, so it swaps less between memory and disk, so it runs faster.
- State what ROM is used for in a PC and in a washing machine. In a PC, the start-up code that checks the hardware and loads the operating system. In a washing machine, the entire control program, which never changes.
- Both answers name what is stored and why it must be there.
RAM容量が多いコンピューターは同時に多くのプログラムやデータを保持でき、メモリと ____ の間のスワップが減り、より高速に動作します。
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
RAMが满载时,操作系统会将页面移至辅助存储并重新读取,每次交换操作的速度比内存访问慢数千倍。
The start-up sequence
- Power on. The processor reads its first instructions from ROM, because RAM is still empty.
- The firmware checks the hardware, then loads the operating system from secondary storage into RAM.
- From then on the processor works from RAM. ROM starts the system; RAM holds the active work.

A RAM module: fast, volatile, and empty until the firmware fills it
将启动顺序排列正确。
難易度 3/5 · 200 コイン + 今日初回完了時に小ボーナス付与
ROM是非易失性的,因此其固件在通电时即存在;随后它将操作系统加载到易失性RAM中。
SRAM and DRAM
- SRAM 静态RAM (static RAM) stores each bit in a flip-flop 触发器 of several transistors. It is fast and uses little power when idle, but it is expensive and holds fewer bits per chip.
- DRAM 动态RAM (dynamic RAM) stores each bit as charge on one tiny capacitor 电容器 with one transistor. It is cheaper and denser, but slower, and the charge leaks away, so every cell must be refreshed 刷新 thousands of times a second.
- So SRAM is used for the processor's small, fast cache 高速缓存, and DRAM for the large main memory.
SRAM速度快但成本高,因此主要用于:
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
SRAM(触发器)速度快但集成度低,适合用作小型高速缓存。DRAM用于大容量主存储器。
DRAM必须每秒刷新(重写)数千次以保持数据。
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
DRAM将每位数据存储为电容器上的电荷,电荷会泄漏——因此需要持续刷新。SRAM则不需要此操作。
将每种存储器类型与其关键特性匹配。
難易度 2/5 · 140 コイン + 今日初回完了時に小ボーナス付与
RAM/ROM按易失性划分;SRAM/DRAM按速度对集成度划分。
Worked example: why this memory here?
- Explain why an embedded system uses DRAM for its main memory. It needs a large amount of memory at low cost in a small space, and its speed requirement is modest, so the cheaper, denser DRAM is the right choice.
- Explain why the processor's cache is SRAM. The cache is small and must be as fast as possible, and SRAM needs no refresh cycle to slow it down, so its higher cost per bit is worth paying.
- One answer argues from cost and density, the other from speed. Say which matters for the device in the question.
为什么嵌入式系统使用DRAM而非SRAM作为主存储器?选择所有适用选项。
難易度 2/5 · 140 コイン + 今日初回完了時に小ボーナス付与
成本和集成度是DRAM的优势。它速度较慢且确实需要刷新;设备接受这些特点是因为其对速度的要求不高。
PROM, EPROM and EEPROM
- PROM 可编程只读存储器 (Programmable ROM) is written once by the user with a programmer, by burning fuses. It cannot be erased.
- EPROM 可擦可编程只读存储器 (Erasable Programmable ROM) is erased by strong ultraviolet light through a quartz window, the whole chip at once, and it must be taken out of the circuit to do it.
- EEPROM 电可擦可编程只读存储器 (Electrically Erasable Programmable ROM) is erased and rewritten electrically, a byte at a time, while it stays in the circuit. Flash memory is a derivative optimised for erasing whole blocks quickly.
EEPROM与EPROM的区别在于它可以:
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
EEPROM可在原位逐字节电擦除;EPROM需用紫外线擦除整个芯片;PROM只能写入一次。
Worked example: "give two differences"
- Give two differences between EPROM and EEPROM. Each difference is stated for both types.
- EPROM is erased by ultraviolet light, whereas EEPROM is erased by an electrical signal.
- EPROM erases the whole chip at once and must be removed from the circuit, whereas EEPROM erases a byte at a time and stays in place.
- A difference given for one side only is half an answer.
将每种ROM类型与其擦除或重写方式匹配。
難易度 2/5 · 140 コイン + 今日初回完了時に小ボーナス付与
名称已说明:可编程、可擦除可编程、电可擦除可编程。
Choosing the memory for the job
- Processor cache: SRAM, because it must be fastest and can be small.
- Main memory of a PC, phone or embedded system: DRAM, because it must be large and cheap.
- Firmware that may need updating in the field: EEPROM or flash, so a fix can be installed without opening the device.
- Firmware that must never change, made in millions: mask ROM or PROM, cheapest and safest.
路由器的固件可能在售出后需要安全更新。应将其保存在哪种存储器中?
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
它必须在断电状态下保持数据,因此不是RAM;且必须在原位可重写,因此不是PROM。EEPROM或闪存可在不打开设备的情况下进行电编程。
Marks that slip away
- "ROM cannot be written" is only true of mask ROM. PROM is written once; EPROM and EEPROM can be rewritten, in the ways above.
- Refresh belongs to DRAM only. SRAM holds its bit in a flip-flop and needs none.
- SRAM and DRAM are kinds of RAM; PROM, EPROM and EEPROM are kinds of ROM. Do not cross the lists.
- "Volatile" is about power, not speed. Say "loses its contents when the power is removed".
SRAM必须每秒刷新数千次以保持内容。
難易度 1/5 · 100 コイン + 今日初回完了時に小ボーナス付与
刷新是DRAM的要求,因为电容器的电荷会泄漏。触发器只要供电就能保持状态。
You've got it
- RAM volatile, read/write, holds running programs; ROM non-volatile, read-only, holds firmware; ROM starts the system, RAM does the work
- SRAM flip-flops, fast, no refresh → cache; DRAM capacitor, denser and cheaper, needs refresh → main memory
- PROM written once; EPROM UV-erased, whole chip, out of circuit; EEPROM electrically erased, byte at a time, in circuit (flash = block erase)
- a "difference" answer states both sides; a "why this memory" answer argues from speed or from cost and density