Courses / Computer Science I
Introduction to Computers

Integrated Computer-System Reasoning

Computer Science I 174 words Free to read

The Whole Machine at Once

Study parts separately, but reason about the whole system. Take a simple job: read a key, add one, and store it.

Every layer of the course appears in one task. Abstractions hide internal complexity behind clean interfaces, letting programmers work at one level while knowing lower layers exist for performance tuning.

One key press, traced through every layer -- then folded into one call

Finding the Bottleneck

System performance is governed by its bottleneck: the slowest stage that work must pass through. Speeding up a non-bottleneck yields little.

Layer TypeSpeed Relative to CPU
RegistersFastest (Base)
Cache / Main MemoryModerate to Slow
Disk / I/OMillions of times slower
Common pitfall: Optimizing the wrong layer. Making CPU arithmetic faster helps nothing if the task is waiting on I/O or a cache miss.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes

Introduction to Computers