Knaph

Program state

The values all of a program's names have at one moment as it runs, changed one assignment at a time.

Depth 1 · Foundation

You read x = x + 1 as "x becomes its old value plus 1", follow a program's names line by line with a trace table, and know why swapping two values needs a third name.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1

    Foundation

    You read x = x + 1 as "x becomes its old value plus 1", follow a program's names line by line with a trace table, and know why swapping two values needs a third name.

Your path here

What's still between you and Program state, depth 1, in the order you can learn it.

  1. 1ProgramDepth 1 · Foundation · Program Basics
  2. 2ExpressionDepth 1 · Foundation · Program Basics
  3. 3Variables in codeDepth 1 · Foundation · Program Basics
  4. 4Program stateDepth 1 · Foundation · Program Basics

Where it fits