Volume 1 Companion: Foundations of ComputingPractice for Volume 1
0 / 0

Workbench / Volume 1 Companion: Foundations of Computing

Volume 1 · Companion

Volume 1 Companion: Foundations of Computing

Everything around each chapter that helps it stick and pays off at work: how its ideas connect, the same material from unexpected angles, what it gets wrong or simplifies, real open-source code, debugging drills, interview questions with how to approach them. Where the chapter or the chapter exercises already cover something, this page says so and points there instead of repeating it.

11 chapters◷ ~4 h to read ✓ 66 topics

What each chapter's companion holds

Understanding it betterConcept map · Explain it differently (unusual angles, code-first, numbers you can feel) · Gaps and misconceptions, practical and theoretical
Applying itCode walkthrough in real open-source code · Debugging drills
Career-orientedInterview prep at mid, senior and staff level, with how to approach each answer

A section that the chapter or the Chapter Exercises already covers is marked Already covered with a pointer, and only what's missing is added.

How to use the companion

  1. Read the chapter first. The companion assumes you have, and points back to its sections by name.
  2. Start with the concept map: it shows how the chapter's ideas connect, and where each one goes deeper.
  3. Do the drills and the interview questions before opening answers. Write your answer first; the hints unlock after that.
  4. Tick a section Done only when you could do it again without help.

Mastery levels

L1 RecognitionDefine it and identify it.
L2 WorkingUse it correctly in code or config.
L3 InternalsExplain why it works.
L4 DebuggingDiagnose failures and performance problems.
L5 DesignChoose among competing approaches.
L6 ProductionOperate it under scale, failure, security and cost.

How to use it: open a chapter's companion after reading the chapter once. Try each drill, review and interview question before opening its hints and answer; tick a section Done when you could do it again without help. Every quoted output was produced by running the code on a Linux lab machine (GCC 13, Java 21, Go 1.24, Rust 1.97, Python 3.13); source excerpts are quoted from pinned release tags.

Contents

  1. V1·01Start Here: Computers, Programs and Your ToolboxCompanion to Volume 1, chapter 01: a concept map of how the machine, bits, programs, the terminal and errors connect; eleven other ways to see the…26 min
  2. V1·02Programming Fundamentals & ParadigmsCompanion to Volume 1, chapter 02: how values, control, structure and paradigms connect; the chapter from new angles (two models of a variable, types…23 min
  3. V1·03Data StructuresCompanion to Volume 1, chapter 03: how linear, keyed and on-disk structures connect; new angles (a coat-check counter, a tournament bracket, the…21 min
  4. V1·04AlgorithmsCompanion to Volume 1, chapter 04: how measuring, sorting, design techniques and graph algorithms connect; new angles (a 20-questions game that…18 min
  5. V1·05Discrete MathematicsCompanion to Volume 1, chapter 05: how sets, logic and counting connect; new angles (sorting laundry as equivalence classes, a light-switch panel as…17 min
  6. V1·06Data RepresentationCompanion to Volume 1, chapter 06: how integers, real numbers and text-on-the-wire connect; new angles (a car's odometer as two's complement, a ruler…18 min
  7. V1·07Computer ArchitectureCompanion to Volume 1, chapter 07: how the machine, the tricks for doing more per cycle, and the memory hierarchy connect; new angles (a kitchen…19 min
  8. V1·08Operating SystemsCompanion to Volume 1, chapter 08: how processes, concurrency and files connect; new angles (a bank teller's window as system calls, a restaurant's…18 min
  9. V1·09NetworkingCompanion to Volume 1, chapter 09: how addressing, transport and application protocols connect; new angles (India Post's PIN and house number as IP…18 min
  10. V1·10Compilers and RuntimesCompanion to Volume 1, chapter 10: how the front end, the back end and runtimes connect; new angles (a court interpreter against a translated book, a…18 min
  11. V1·11Mastery ProjectsCompanion to Volume 1, chapter 11: how the warm-ups and the ten projects connect to the chapters before them; new angles (an apprentice's…16 min