Skip to content
Your progress

Checking your sign-in…

Who's learning?

Each profile keeps its own read lessons, badges, streak, and practice scores on this device.

Computing & AI Class 9

Programming Proper I

Type real programs: boxes, values, arithmetic, forks, loops, and reading error messages.

11 lessons · ~74 min total

Track progress — 0 of 11 lessons read 0%

Lessons in this topic

  1. 0 Start here Type real programs: boxes, values, arithmetic, forks, loops, and error messages. · 3 min You are here
  2. 1 The same program, typed instead of dragged A typed program runs one line at a time, from the top. · 6 min
  3. 2 A box you can change, and a box you cannot `let` makes a box you can refill. `const` makes a box you cannot. · 7 min
  4. 3 Four kinds of value, and why the quotes matter The first four kinds: number, text, true or false, and nothing. Run it to find out which. · 7 min
  5. 4 What the signs do, and the one that does two jobs The signs do arithmetic. Plus also joins text to something that can be written out. · 7 min
  6. 5 A fork in the line An if runs its block only when the condition is true. In this editor, it must be true or false. · 8 min
  7. 6 A loop that runs until something stops it A while loop checks, runs the block, and checks again. The block must change the check. · 8 min
  8. 7 Once for each thing you have A for loop runs once per item in a list. The turns come from the list. · 8 min
  9. 8 What the message says, and what it does not An error names the line where the run stopped. The cause may sit above it. · 8 min
  10. 9 The big picture Eight ideas for typing real programs, and reading what the machine says back. · 4 min
  11. 10 Track quiz A cheat-sheet table and a short quiz on the eight ideas. · 8 min