Skip to the content
Peabody TeachFor teachers and grown-ups

Writing Code, Step by Step: teacher key

How Coding Works, grade 2 edition, written for 2nd grade. Find out how programmers give a computer steps, why order matters, and how bugs get fixed.

Read the book. Print this page for the key.

Questions and answers

  1. What is a computer program?
    • A list of instructions for a computer (answer)
    • A kind of insect
    • A game board
  2. Who writes the code that makes programs?
    • Recipes
    • Bugs
    • Programmers (answer)
  3. What is the order of instructions in a program called?
    • A bug
    • Its sequence (answer)
    • A repeat
  4. Why do people have to give a computer instructions?
    • It cannot think for itself (answer)
    • It likes lists
    • It is too loud
  5. In coding, what does the word bug mean?
    • A real insect
    • A mistake in a program (answer)
    • A computer game

Words

  • program: list of instructions
  • programmers: code writers
  • sequence: the order
  • bug: a mistake