Debugging Since 18431 / 11

Part One · A table of steps

In 1843 Ada Lovelace published a set of notes on a calculating machine that would never be built. The last of them, known as Note G, set out a table of steps by which Charles Babbage's Analytical Engine could compute a series of values called Bernoulli numbers. It is often described as the first published computer program. Modern programmers have since tested that table, and they found something that anyone learning to code should find comforting. It contains a bug. In one division, two variables are swapped, so if the engine had ever run the steps as printed, it would have produced the wrong answer. The first program, if that is what it was, did not work on the first try. Hardly any program ever has.

More to do at Peabody

About Debugging Since 1843

A free Grade 8 story from the Peabody library, Level 13. It has 11 short pages and about 1449 words, so it reads in a few minutes.

Words this story teaches

At reading level 13, Peabody's practice works on vocabulary, spelling; the level page says what is in each.

The same topic for other ages

This is the advanced book of three about learning to code, written for about ages 13 to 16 from the same checked facts.

Every topic at three levels

To print it or save it as a PDF, tap the ⓘ button above the story, then “Print this story”.

All the Level 13 stories, or the whole library.

For teachers: read it to the class, questions and key
Questions and answer key (6)
  1. What did modern programmers find when they tested Note G?
    • A. Two variables swapped in a division
    • B. It was written by Babbage alone
    • C. It had no steps at all
    Show answerA. Two variables swapped in a division
  2. Why does the essay say the 1947 moth note was a pun?
    • A. Moths were rare at Harvard
    • B. People already used bug to mean a fault
    • C. The computer was named Moth
    Show answerB. People already used bug to mean a fault
  3. How did Jacquard's loom connect to computing?
    • A. It used electricity
    • B. It was controlled by a chain of punched cards, like a program
    • C. It could do arithmetic
    Show answerB. It was controlled by a chain of punched cards, like a program
  4. In the last screen, what does "diverge" mean?
    • A. Join together
    • B. Speed up
    • C. Go in different directions
    Show answerC. Go in different directions
  5. Why does the essay argue that readable languages matter?
    • A. They run faster
    • B. A mistake you cannot read is a mistake you cannot fix
    • C. Computers prefer English
    Show answerB. A mistake you cannot read is a mistake you cannot fix
  6. According to the essay, which skill lasts through every change in languages?
    • A. Memorizing one language
    • B. Typing quickly
    • C. Reading your own instructions as a machine would and finding mistakes
    Show answerC. Reading your own instructions as a machine would and finding mistakes

For grown-ups: Peabody has no ads, not one, and nothing to sell your child. The Kids Pick, an independent kids' directory, rates its games 90/100. See what other free kids' sites load · Already have a profile?