コンピューターの基本とタイピング · 6単元 · 約135分 · 練習問題60問
始める
コンピューターのしくみ
コンピューターは写真からプログラムまで、すべてを0と1の並びとして記録し、小さなスイッチでそれを処理します。6つの単元で、いちばん下の層から順に進みます。2進数、バイトと文字、論理ゲート、ゲートによる足し算、CPUのフェッチ・デコード・実行のサイクル、そしてメモリです。ビットを切り替え、ゲートをつなぎ、加算器の中を桁上がりが伝わるようすを見て、小さなコンピューターのプログラムを1段階ずつ進めることができます。
進み具合
このコースで学ぶこと
- ビットの列を数として読む
- 文字のASCIIコードとUTF-8のバイトを調べる
- 桁上がりをしながら2進数を足す
- フェッチ、デコード、実行を1段階ずつたどる
- メモリ(RAM)とストレージを区別する
単元
- 1ビットと2進数19ページ21分説明5操作2問題10練習1
- 2バイト、16進数と文字22ページ25分説明7操作3問題10練習1
- 3論理ゲート20ページ22分説明6操作2問題10練習1
- 4ゲートで数を足すしくみ20ページ23分説明6操作2問題10練習1
- 5CPUがしていること19ページ21分説明6操作1問題10練習1
- 6メモリとストレージ19ページ23分説明4操作3問題10練習1
このコースについて
1854年、数学者ジョージ・ブールは『思考の法則の研究』を出版しました。これは、文が真か偽のどちらかで、「かつ」「または」「ではない」でつながれる代数です。それから数十年間、気にかけたのは論理学者だけでした。1938年、MIT の学生だったクロード・シャノンは、リレーやスイッチの回路がまさにこの代数に従うことを示しました。直列のスイッチは AND のように、並列のスイッチは OR のようにはたらきます。このつながりが、コース全体を貫く考え方です。1971年のインテル初のマイクロプロセッサ 4004 には、ゲートにつながれたトランジスタが 2,300 個ありました。プロセッサは、ゲートだけでできています。
RAM は、電源を切るとすべてを忘れてしまいます。最後の実験ではデータのセルが緑で表示され、実行中の結果が 4、8、12 と増えていくのが見えます。
はじめる前に
スイッチから始めて積み上げていくので、コンピューターの知識は前提にしません。くり上がりのある筆算の足し算に慣れていると役立ちます。ある単元では、10進数と同じやり方で 0101 と 0011 を2進数で紙の上で足すからです。
コースマップ
コンピューターの基本とタイピング · コース: 4このコースの出典 (10)
- (checked 2026-10-17)
- Standards: NIST, "Prefixes for binary multiples" (physics.nist.gov/cuu/Units/binary.html: IEC approved kibi, mebi, gibi in December 1998; 1 B = 8 bit; 1 MiB = 1 048 576 B; 1 MB = 1 000 000 B; 1 GiB = 1 073 741 824 B; historical note: memory makers usually mean 2²⁰ bytes by megabyte, storage makers 1 000 000, and the "1.44 MB" diskette uses a megabyte of 1 024 000 bytes)
- IETF RFC 20 "ASCII format for Network Interchange" (1969, 7-bit codes, A = 65, a = 97, 0 = 48)
- IETF RFC 3629 "UTF-8, a transformation format of ISO 10646" (2003: 1 to 4 octets per character, ASCII unchanged, code points up to U+10FFFF, U+0800 to U+FFFF take three octets, "the first octet of a multi-octet sequence indicates the number of octets", example U+D55C U+AD6D U+C5B4 = ED 95 9C EA B5 AD EC 96 B4)
- Official documentation: MDN Web Docs, "<color>" (hexadecimal colour notation #RRGGBB)
- Intel, "Intel Chips" timeline poster (2012: Intel 4004 of 1971 with 2,300 transistors; 2nd generation Core 2010 with 1.16 billion)
- Teaching model: the toy computer in the network-lab scene (16 cells of 8 bits, 4-bit opcode and 4-bit address) is made for this course, not a real chip. History blocks only (the logic-gates story and the von Neumann paragraph of the-cpu): George Boole, An Investigation of the Laws of Thought (1854, Project Gutenberg 15114)
- Claude E. Shannon, "A Symbolic Analysis of Relay and Switching Circuits", Transactions of the AIEE vol. 57 (1938)
- abstract of his MIT master's thesis. Computer History Museum, The Silicon Engine, "1947: Invention of the Point-Contact Transistor" (Bardeen and Brattain, December 1947, germanium)
- John von Neumann, "First Draft of a Report on the EDVAC" (30 June 1945, Moore School, reprinted in IEEE Annals of the History of Computing 15:4, 1993).
確認日: 2026-10-17