seegongsik
Saved words
Structure

Scattered parts into one machine

CPU, memory, storage, input and output. We've seen the parts one by one. Now we'll see these parts connect through one road, passing values to each other, working as one computer.

01

Connecting the scattered parts

These are the parts we've seen.
The CPU that calculates,
the memory that holds values,
the storage that keeps them even when off,
the input and output we exchange with.
On their own they're just separate.
Connect them through one road,
and only then do they become one computer.

CPUCalc
MemoryHold
StorageKeep
I/OExchange
The road (bus)
Connected by one road, the parts can pass values to each other.

Scattered and connected.

This road is called a bus.
Like a bus stop,
many parts stand on the same road,
and pass values along it.
One computer is
the parts connected by this road.

02

Passing along the same road

A bus is a shared road.
When the CPU tells memory
"give me that value,"
the value comes along this road.
When the CPU says "store this,"
the value goes along the road to storage.
Press a stop
and watch the value travel.

Press a part, and a value travels the road to it.

A value traveling the road.

Because the road is one,
the parts reach each other.
The CPU talks to memory,
and to storage,
along the same road.
Without wiring every line separately,
one road is enough.

03

Take it out, load it up, calculate

Let's follow one value as it works.
Take it out of storage,
load it into memory,
the CPU takes it and calculates,
then puts the result back into memory.
Because the parts are connected by the road,
this journey is possible.

1Take a value out of storageStorage
2Load it into memory via the roadMemory
3The CPU takes it and calculatesCPU
4Put the result back into memoryMemory
Press one step at a time. The value moves between the parts along the road.

One value passes through the parts.

Storage is big but slow,
memory is faster than that.
So a value to be used
is loaded into memory first,
and the CPU takes it from there.
Those layers we saw in lesson 13
move together like this.

04

They travel in turns

Because the road is one,
many can't go at once.
One at a time,
they travel in turns.
A memory value passes,
then a CPU value passes.
It's so fast
that to our eyes it looks all at once,
but really it's one by one.

Many share one road. They pass in turn so they do not collide.

One road, values passing in turn.

Deciding the order
also happens inside the computer.
Who uses the road first,
it arranges the turns.
Thanks to that, values don't tangle,
and even on one road,
everyone can travel.

05

All as one body

Now let's run one round.
When we input values (input·output),
they're held in memory,
the CPU takes them and calculates,
and the result passes through memory
and appears on the screen (input·output).
Each and every part
connected through one road,
working as one machine.

Input
3, 4
Memory
Hold
CPU
3+4
Memory
7
Output
7
Run it and the parts work in turn
The input value passes through the parts along the road and comes out as a result.

Input → memory → CPU → memory → output.

This is the body of a computer.
Starting from a single switch,
we made parts that calculate and remember,
and connected them by one road into one machine.
Next time we'll look back
at the road we've come
all at a glance.

In one lineThe CPU, memory, storage, and input·output connect through one road (a bus), passing values to each other to become one computer. A value travels this road, passing between the parts in turn. Scattered parts working as one body.
Was this helpful? Support seegongsik
Structure