Blame

b59af6 cloudy-jc 2026-04-18 21:38:05
Add Tom Scott — Fetch Execute Cycle wiki page (W1 video companion)
1
# Tom Scott — The Fetch-Execute Cycle
2
f09b43 cloudy-jc 2026-04-19 16:09:46
Wiki: convert all wikilinks to Markdown links — fix subdir routing OtterWiki interpreted [[dt7/Page|Display]] by using the Display text as the link target (404 because no page exists at that name). Converted all 54 wikilinks in dt7/, sd/, and Home.md to Markdown [Display](/path) syntax, which OtterWiki resolves correctly. Affected: every Y7 leaf page footer's Hub backlink, every cross-link between Y7 pages, both hub pages' page lists, and the Home.md lobby. No content changes — only link syntax + URL encoding. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3
*A companion page to [Workshop 1 Hardware and Networks](/dt7/Workshop%201%20Hardware%20and%20Networks). Inspiration video referenced in the Workshop 1 booklet as `way2.cc/ca7`.*
b59af6 cloudy-jc 2026-04-18 21:38:05
Add Tom Scott — Fetch Execute Cycle wiki page (W1 video companion)
4
5
When you opened the laptop in Workshop 1 and pointed at the CPU, you saw a quiet little square of silicon. That square is doing one thing, billions of times a second, and it's the same thing every CPU has done since the 1940s: **fetch, decode, execute, repeat**.
6
7
Tom Scott takes you inside that loop with one of the simplest computers ever made — a relay-based machine the size of a wardrobe — so you can actually *see* the cycle happen at human speed. After this video, the chip in your laptop won't feel mysterious anymore. It'll just feel very, very fast.
8
9
---
10
11
## The Video
12
13
{{Video|src=https://www.youtube.com/watch?v=Z5JC9Ve1sfI}}
14
15
Tom Scott visits the Centre for Computing History to demonstrate the fetch-execute cycle on a giant electromechanical computer. Each step makes a *clack* sound, so you can literally hear instructions being processed one at a time.
16
0ae168 lisa 2026-04-30 22:53:07
Tom Scott Fetch Execute: add shorter alternative video link
17
*Shorter alternative video:* [https://www.youtube.com/watch?v=pxRpDlHZ-NU](https://www.youtube.com/watch?v=pxRpDlHZ-NU)
18
b59af6 cloudy-jc 2026-04-18 21:38:05
Add Tom Scott — Fetch Execute Cycle wiki page (W1 video companion)
19
---
20
21
## What to Watch For
22
23
- **The three steps repeating forever** — listen for the clacks. Fetch (grab the next instruction), decode (work out what it means), execute (do it). Every modern CPU still does exactly this, just billions of times a second instead of once a second.
24
- **The program counter** — watch the lights step through addresses. Your CPU has the same thing inside it, just shrunk down to a few transistors.
25
- **Why it's a "cycle"** — when one instruction finishes, the next one starts. There's no break. A CPU is never resting; it's either fetching, decoding, or executing.
26
- **The size difference** — the relay computer fills a wardrobe to do what your laptop CPU does in 1mm². Same logic, very different scale.
27
28
---
29
30
## <i class="fas fa-lightbulb"></i> Have a Go
31
32
::: info
33
**<i class="fas fa-pencil-alt"></i> Your turn!** Grab a pen (or a keyboard) and have a crack at these.
34
:::
35
36
**<i class="fas fa-film"></i> Question** ① — In your own words, describe the three steps the CPU repeats over and over. Use the words *fetch*, *decode*, and *execute*.
37
38
**<i class="fas fa-microchip"></i> Question** ② — A modern laptop CPU runs at about 3 GHz, which means it does this cycle about 3 *billion* times a second. The relay computer in the video does it about once a second. How many cycles does your laptop do in the time the relay computer finishes one?
39
40
::: tip
41
⚡ **Hint:** It's a big number. Count the zeros. (3 billion = 3,000,000,000.)
42
:::
43
44
**<i class="fas fa-question-circle"></i> Question** ③ — Why do you think Tom Scott chose to show the cycle on a relay computer instead of just opening up a modern laptop? What can you see on the relay computer that you *can't* see on a modern chip?
45
46
---
47
f09b43 cloudy-jc 2026-04-19 16:09:46
Wiki: convert all wikilinks to Markdown links — fix subdir routing OtterWiki interpreted [[dt7/Page|Display]] by using the Display text as the link target (404 because no page exists at that name). Converted all 54 wikilinks in dt7/, sd/, and Home.md to Markdown [Display](/path) syntax, which OtterWiki resolves correctly. Affected: every Y7 leaf page footer's Hub backlink, every cross-link between Y7 pages, both hub pages' page lists, and the Home.md lobby. No content changes — only link syntax + URL encoding. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
48
See also: [Workshop 1 Hardware and Networks](/dt7/Workshop%201%20Hardware%20and%20Networks) · [GPU vs CPU](/dt7/GPU%20vs%20CPU)
b59af6 cloudy-jc 2026-04-18 21:38:05
Add Tom Scott — Fetch Execute Cycle wiki page (W1 video companion)
49
50
*Last updated: April 2026.*
ce5b8c cloudy-jc 2026-04-19 16:06:03
Wiki: reorganise into dt7/ and sd/ subdirs (per-course namespaces) Moves all current pages into per-course subdirectories so each cohort gets a clean namespace with its own URL prefix and natural sidebar grouping: dt7/ Year 7 Digital Technologies (9 pages + 2 attachment folders) sd/ VCE Software Development (was SAT/, with C01 + Resources) New top-level structure: Home.md ← lobby (2 doors) dt7/Year 7 Hub.md ← Y7 cohort landing sd/VCE Software Development Hub.md ← VCE cohort landing dt7/* and dt7/<page>/ ← Y7 pages + attachments sd/* and sd/C01/ ← VCE pages + attachments Link rewrites: - All [[Page]] cross-links qualified to [[dt7/Page]] for the moved Y7 pages - All image refs /<page>/img.png updated to /dt7/<page>/img.png - Every Y7 leaf page now ends with "← Back to [[dt7/Year 7 Hub]]" Home.md rewritten as a minimal lobby with 2 entries; the per-cohort hubs do all the curation work. Why dt7/ + sd/: Jeremy expects more courses (Y8, Y9, etc). Subdir layout scales; OtterWiki sidebar will auto-group by directory tree. Cost: 5 way2.cc shortlinks (ca2-ca6) need their target URLs updated to /dt7/<page> paths. Following commit handles that via the way2.cc admin API. ca7-caa point at YouTube directly and don't need touching. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
51
52
f09b43 cloudy-jc 2026-04-19 16:09:46
Wiki: convert all wikilinks to Markdown links — fix subdir routing OtterWiki interpreted [[dt7/Page|Display]] by using the Display text as the link target (404 because no page exists at that name). Converted all 54 wikilinks in dt7/, sd/, and Home.md to Markdown [Display](/path) syntax, which OtterWiki resolves correctly. Affected: every Y7 leaf page footer's Hub backlink, every cross-link between Y7 pages, both hub pages' page lists, and the Home.md lobby. No content changes — only link syntax + URL encoding. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
53
← Back to [Year 7 Hub](/dt7/Year%207%20Hub)