Three Things to Try on Grace Hopper's Birthday Week

Have you ever given someone steps, and they still got stuck? A missing step can do that. That kind of mistake is called a bug.

By Paradigm Plex Kids Staff ยท

Three Things to Try on Grace Hopper's Birthday Week

Have you ever given someone steps, and they still got stuck? A missing step can do that. That kind of mistake is called a bug. Finding it and fixing it is called debugging.

You can try that this week. December 9 would have been Grace Hopper's 120th birthday. Computer Science Education Week, from December 7 to 13, is held in her honor. She was a Navy officer who wanted computers to follow words, not only numbers. She helped make "debug" a word you still hear today.

A Real Bug

In 1947, computers filled whole rooms. One of them, the Harvard Mark II, used relays. A relay is a small switch that clicks open and closed.

On September 9, a moth got caught between two of those switches. The machine was not working right. The team found the moth and taped it into a logbook. A logbook is a notebook where people write down what happens each day. Next to the moth, someone wrote: "First actual case of bug being found."

The logbook is now in the Smithsonian's collection. People already used the word "bug" for small machine troubles. The Smithsonian says Thomas Edison did that in the 1870s. This time, the bug was a real insect.

Many people say Grace Hopper found the moth. That is not quite right. She was on the Mark II team. The Computer History Museum says she made the story famous later, in her talks. The Smithsonian says the logbook was probably not hers. Still, she and her team helped make the word "debug" famous.

Words a Computer Can Follow

Early computers followed instructions written in numbers. Many scientists thought computers could understand only numbers. Hopper disagreed. She wanted instructions people could read.

According to Naval History magazine, she helped make FLOW-MATIC. A compiler is a program that turns readable words into numbers a computer can follow. Think of it as a translator. The magazine says FLOW-MATIC was the first compiler to use English words for instructions.

When she talked with students, she told them: "Make the computer work for you. Let your mind soar!"

A Length of Time You Can Hold

Computers work very, very fast. A nanosecond is one billionth of a second. How do you picture that?

Hopper used a piece of wire. On a TV show in 1986, she explained that "a nanosecond is 11.8 inches long." That is the farthest light can travel in one billionth of a second.

She also showed a coil of wire 984 feet long, for a microsecond, which is a millionth of a second. She said she would hang one over every programmer's desk, so they would not throw that time away.

Try It

Ask a grown-up to help you pick one of these.

Cut a nanosecond. Measure a piece of string 11.8 inches long. Hold it up. Light crosses that much space in one billionth of a second.

Find a bug. Write steps for drawing a simple house. Ask a grown-up to follow your steps exactly, with no guessing. If the drawing goes wrong, you have found a bug. Fix that step. Now you are debugging.

Build for an hour. This year's Hour of AI is called "Start Building." One activity, Quest Builder, is for grades 3 to 8. You make your own playable world, the pictures and the code. You can draw the pictures by hand or use AI. You can change anything the AI makes.

Grown-ups can find free activities that need no experience at hourofai.org/activities. Some work on any device. Some need no device at all.

This week, try one of those three things. If you find a mistake and fix it, you are debugging. Grace Hopper helped give that work a name.

Photo: Grace Hopper in 1984, by James S. Davis, U.S. Navy, public domain, via Wikimedia Commons.