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.

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”.

More stories at Level 13

All the Level 13 stories, or the whole library.

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 · Grown-ups, sign in · Already have a profile?