Перейти к содержанию

Этот урок ещё не переведён на русский язык, поэтому показан на английском.

Начало урока

The Clock: One Action at a Time

We have cells that store numbers and a processor with a handful of actions. The third and last assumption of the idealized machine answers a question you may not have thought to ask: how does time work inside the machine? The answer is stricter than anything in ordinary life — and two of the most dramatic moments of the whole course are hidden inside it.

Learning goals: state the clock rule; explain why "nothing happens by itself" and "nothing happens simultaneously"; and understand the two promissory notes this lesson signs — debts the course openly takes on and must repay in later lessons.

Start with the question

Watch your screen: music plays while a page scrolls while a download ticks forward. Obviously the machine does many things at once — obviously time inside it flows like ours, full of parallel streams. Right?

Wrong — and the truth is stranger. Our idealized machine lives by a metronome. Tick: exactly one action from the processor's small set. Tick: exactly one more. Never two at once, never a pause where "something happens on its own", never an action between ticks. Machine time is not a river; it is a staircase climbed one step at a time.

The clock rule and its two faces

The rule: the machine performs exactly one action per tick; actions follow one another in strict sequence.

Two consequences are folded into that one sentence, and they deserve separate shelves in your head:

Продолжите этот урок на YourAIZone

В полном уроке — объяснение целиком, разобранные примеры, частые ошибки, тесты с мгновенной проверкой и ИИ-репетитор. Начните сразу как гость или создайте аккаунт, чтобы сохранять прогресс.

В полном уроке

  • Объяснение целиком
  • Разобранные примеры
  • Частые ошибки и как их избежать
  • Тестовые вопросы: 2
  • ИИ-репетитор, который отвечает на вопросы по теме
  • Отслеживание прогресса для ученика, родителей и учителя