RAM, ROM and memory types
導入済み
22:37
コンピュータ & コンポーネント
あらゆるコンピュータを開いて——ケースを越え、チップを越え、シリコンまで達すると——スイッチを見つける。数千ではなく、何十億もある。そして各々…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| core rope memory | Read-only memory that stores bits using wires passed through or around magnetic rings. |
| magnetic rings | Small rings of magnetic material used with wires to store bits. |
| flight software | Programs that control and support the operation of a spacecraft during flight. |
| main memory | Memory directly used by the processor to hold programs and data. |
| RAM/ræm/ | RAM(ランダムアクセスメモリ) |
| ROM/rɒm/ | |
| volatile/ˈvɒlətaɪl/ | 揮発性 |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | System software that manages hardware resources and provides services for applications. |
| non-volatile/nɒn ˈvɒlətaɪl/ | 非揮発性 |
| firmware/ˈfɜːmweə/ | ファームウェア |
| bootstrap/ˈbuːtstræp/ | ブートストラップ |
| embedded system/emˈbedɪd ˈsɪstəm/ | A computer system built into a larger device to perform a particular task. |
| disk/dɪsk/ | A storage device that holds programs and data even when power is off. |
| hardware/ˈhɑːdweə/ | The physical parts of a computer system that can be touched. |
| processor/ˈprəʊsesə/ | The component that executes instructions and performs the operations of a computer or similar system. |
| instructions/ɪnˈstrʌkʃnz/ | Commands that tell a computer what actions to perform. |
| secondary storage/ˈsekəndəri ˈstɔːrɪdʒ/ | Non-volatile storage used to retain data and programs beyond immediate processing. |
| SRAM/ˈesræm/ | A type of RAM that uses flip-flops to store bits without needing refresh. |
| DRAM/ˈdiːræm/ | |
| bit/bɪt/ | A binary digit, taking the value zero or one. |
| flip-flop/flɪp flɒp/ | フリップフロップ |
| transistors/trænˈzɪstəz/ | Electronic components that control current and can act as switches in digital logic circuits. |
| chip | A small piece of material containing electronic circuits that perform computer functions. |
| charge/tʃɑːdʒ/ | An electrical property that causes attraction or repulsion. |
| capacitor/kəˈpæsɪtə/ | コンデンサ |
| cells/selz/ | Small parts of memory that each store a bit of data. |
| refreshed/rɪˈfreʃt/ | リフレッシュ |
| cache/kæʃ/ | キャッシュ |
| refresh cycle | The process of restoring charge in DRAM cells so they keep their data. |
| PROM/prɒm/ | プログラム可能ROM |
| EPROM/ˈiːprɒm/ | 消去可能プログラム可能ROM |
| EEPROM/ˌiːiːˈprɒm/ | 電気的消去可能プログラム可能ROM |
| programmer | A device used to write data or instructions into a memory chip. |
| fuses | Tiny parts in PROM that are burned to store data permanently. |
| quartz window | A clear opening in an EPROM chip that lets ultraviolet light reach it. |
| circuit/ˈsɜːkɪt/ | A complete path through which electric current can flow. |
| byte/baɪt/ | A group of eight bits, commonly used as a unit of data storage. |
| Flash memory/flæʃ ˈmeməri/ | A derivative optimised for erasing whole blocks quickly. |
| blocks | Groups of memory locations that flash memory can erase together. |
| electrical signal | A changing electrical quantity that carries information through an electronic device. |
| mask ROM | A type of ROM whose contents are fixed when the chip is made. |
手織りのメモリ
- 月へ飛んだアポロ誘導コンピュータは、コアロープメモリにプログラムを保持していた: 微小な磁気リングを透過または周囲に通すワイヤを手作業で織り込み、一方の通り方を1、もう一方を0としていた。
- 一度織り終えれば変更は不可能であった。これは純粋な読み出し専用メモリであり、飛行ソフトウェアは発射の数ヶ月前に完了している必要があった。
- 動作中のデータは別の消去可能なメモリにあり、電源オフ時にすべて失われる構造だった。
- その後のすべてのコンピュータが同じ2種類のメインメモリを持つのはこのためである。本節ではこれらを区別し、使い分け方について学ぶ。

このカードは修正されたため、翻訳が更新されるまで英語で表示されます。
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. In normal use it is only read, although some types can be erased and rewritten.
- 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
Device and storage lab
Classify computing examples by what job they do in a system.
Which statement is true?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
RAM loses its contents without power (volatile); ROM keeps them (non-volatile).
ROM typically holds:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
ROM is non-volatile and its contents are not changed in normal use, so it stores the start-up firmware. Running programs live in RAM.
例題: よく出る2問
- RAM容量が多いコンピュータの方が性能が高い理由を説明せよ。 メモリに一度に多数のプログラムとデータを保持できるため、メモリとディスク間のスワップが少なくなり、処理速度が向上する。
- PCおよび洗濯機におけるROMの用途を述べてせよ。 PCでは、ハードウェアチェックおよびOSロードを行う起動コード。洗濯機では、一成不变の制御プログラム全体。
- 両方の回答は、格納されている内容及び、なぜそこに存在する必要があるかを併せて述べている。
A computer with more RAM holds more programs and data at once, so it swaps less between memory and ____, so it runs faster.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
When RAM is full the operating system moves pages out to secondary storage and back, and every swap is thousands of times slower than a memory access.
起動シーケンス
- 電源投入。RAMはまだ空的状态なので、プロセッサは最初の命令をROMから読み込む。
- ファームウェアがハードウェアをチェックした後、二次記憶装置からRAMへOSをロードする。
- その後、プロセッサはRAMに基づいて動作する。ROMがシステムを起動し、RAMが現在進行中の作業を保持する。

RAMモジュール: 高速、揮発性、ファームウェアで満たされるまで空状态

Put the start-up sequence in order.
難易度 3/5 · 200 コイン + 今日初回達成時の小ボーナス
ROM is non-volatile so its firmware is there at power-on; it then loads the OS into volatile RAM.
SRAMとDRAM
- SRAMRAM (static RAM) は、複数のトランジスタからなるフリップフロップで各ビットを保持する。高速でアイドル時の消費電力が少ないが、高価でチップあたりのビット数が少ない。
- DRAMRAM (dynamic RAM) は、1つのトランジスタと微小なコンデンサ上の電荷で各ビットを保持する。安価で高密度だが、速度は遅く、電荷が漏れるため、セルは毎秒数千回リフレッシュされる必要がある。
- そのため、プロセッサの小型高速キャッシュにはSRAMが、大容量メインメモリにはDRAMが使われる。

SRAM is fast but expensive, so it is mainly used for:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
SRAM (flip-flops) is fast but not dense, ideal for small fast cache. DRAM is used for large main memory.
DRAM must be refreshed (rewritten) thousands of times a second to keep its data.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
DRAM stores each bit as charge on a capacitor, which leaks away — so it is constantly refreshed. SRAM does not need this.
Match each memory type to its key trait.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
RAM/ROM split on volatility; SRAM/DRAM split on speed vs density.
例題: なぜここにこのメモリがあるのか?
- 埋め込みシステムが主記憶にDRAMを使用する理由を説明しなさい。 小型のスペースで低コストに大容量のメモリが必要であり、速度要件もそれほど厳しくありません。そのため、安価で高密度なDRAMが最適な選択肢となります。
- プロセッサのキャッシュがSRAMである理由を説明しなさい。 キャッシュは容量が小さく、できる限り高速である必要があります。 SRAMには遅延を生むリフレッシュサイクルが不要であるため、ビットあたりの単価が高くても価値があります。
- 一つの答えはコストと密度に基づき、もう一つは速度に基づいています。 問題文のデバイスにおいて、どちらの要素が重要かを述べなさい。
Why does an embedded system use DRAM rather than SRAM for its main memory? Select すべて that apply.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
Cost and density are DRAM's advantages. It is slower and it does need refreshing; the device accepts both because its speed requirement is modest.
PROM, EPROM および EEPROM
- PROM (Programmer可変ROM) は、ユーザーがプログラマを用いてヒューズを溶接することで一度だけ書き込まれます。 消去することはできません。
- EPROM (光消去_programmable ROM) は、クォーツ窓を通じて強い紫外線で消去され、チップ全体が一度に処理されます。 この操作を行うには回路から取り出す必要があります。
- 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 differs from EPROM because it can be:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
EEPROM is erased electrically a byte at a time in place; EPROM needs UV to erase the whole chip; PROM is write-once.
演習例:「2つの違いを答える」
- EPROM と EEPROM の2つの違いを挙げよ。 各違いについては両方のタイプについて記述すること。
- EPROM は紫外線によって消去されるのに対し、一方 EEPROM は電気信号によって消去される。
- 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.
- 片側のみで提示される違いは、半分の点数となる。
Match each ROM type to how it is erased or rewritten.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
The names say it: Programmable, Erasable Programmable, Electrically Erasable Programmable.
タスクに応じたメモリの選択
- プロセッサのキャッシュ: SRAM。 最も高速である必要があり、かつ容量が小さくてもよいから。
- PC、携帯電話、または埋め込みシステムの主記憶: DRAM。 大容量かつ安価である必要があるから。
- 現場でのアップデートが必要なファームウェア: EEPROM またはフラッシュメモリ。 デバイスを開かずに修正プログラムを取り込めるから。
- 絶対に変更してはいけないファームウェア(数百万個製造): マスクROMまたはPROM。 最も安価で安全だから。

A router's firmware may need a security update after it is sold. Which memory should hold it?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
It must survive without power, so not RAM, and it must be rewritable in place, so not PROM. EEPROM or flash can be reprogrammed electrically without opening the device.
見落としやすいポイント
- 「ROMは書き込めない」のはマスクROMの場合に限る。 PROMは一度だけ書き込み可能であり、EPROMおよびEEPROMは上記の方法で再書き込みが可能である。
- リフレッシュはDRAMにのみ該当する。 SRAMはフリップフロップでビットを保持するため、リフレッシュは不要である。
- SRAMとDRAMはRAMの一種であり、PROM、EPROM、EEPROMはROMの一種である。 列表を混同しないこと。
- 「揮発性」は速度ではなく電源に関するものである。 「電源を切ると内容が失われる」と記述すること。
SRAM must be refreshed thousands of times a second to keep its contents.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Refresh is a DRAM requirement, because a capacitor's charge leaks. A flip-flop holds its state for as long as the power is on.
理解できましたか
- RAM: 揮発性、読み書き可能、実行中のプログラムを保持; ROM: 非揮発性、読み出し専用、ファームウェアを保持; ROMがシステムを起動し、RAMが実際の処理を行う。
- SRAM: フリップフロップ、高速、リフレッシュ不要 → キャッシュ; DRAM: コンデンサ、高密度かつ安価、リフレッシュ必要 → 主記憶
- PROM written once; EPROM UV-erased, whole chip, out of circuit; EEPROM electrically erased, byte at a time, in circuit (flash = block erase)
- 「違い」に関する回答では両方を記述する;「なぜこのメモリか」に関する回答では、速度、あるいはコストと密度に基づいて論じる。
何が問題でしたか?この内容はサイトの運営チームだけが確認します。