Ada Lovelace: the first computer program
About this lesson: Ada Lovelace: the first computer program

Ada Lovelace in about 1840. Watercolour by Alfred Edward Chalon, public domain.
What is Ada Lovelace famous for?
Ada wrote the first published program for a general-purpose computer, a hundred years before electronic computers existed, and imagined computers making art and music.
Ada Lovelace at a glance
- Born
- 10 December 1815 (London, England)
- Died
- 27 November 1852 (London, aged 36)
- Famous work
- Notes A–G (1843) (longer than the article itself)
- Program
- Bernoulli numbers (in Note G)
- Worked with
- Charles Babbage (inventor of the Engines)
- Honour
- Ada Lovelace Day (2nd Tuesday in October)
What Ada gave the world
- 1843: The first published program. A complete, step-by-step method for the Engine to calculate Bernoulli numbers.
- 1843: Loops. Her program repeated a group of operations, an idea now called a loop.
- 1843: Computers beyond numbers. She saw that a machine working with symbols could handle music, pictures or letters, not just sums.
- 1843: Limits of machines. She wrote that the Engine could only do what we know how to order it to do. People still debate this about AI.
- Today: A role model. She shows that imagination and maths belong together.
What you'll explore
- Meet the scientist: Poetry and numbers
- Ada was born in London in 1815, the daughter of the famous poet Lord Byron. Her mother made sure she studied maths and science.
- The Analytical Engine: A computer made of brass
- Charles Babbage designed a steam-powered calculating machine. Numbers were kept on wheels in the Store; the Mill did the sums.
- Punched cards: Instructions written in holes
- Weaving looms used cards with holes to weave patterns. The Engine would read its instructions from cards the same way.
- 1843 · Note G: Repeat the steps: a loop
- Ada's famous program repeated the same group of steps many times. Here is a simple loop: each round adds the next odd number.
- Check yourself: Thinking like Ada
- Ada saw something Babbage had not fully seen.
Also in this lesson
- Ada, year by year
- Stories about Ada
Key words
- Program
- A list of instructions a computer follows, step by step.
- Algorithm
- A set of steps to solve a problem.
- Loop
- A part of a program that repeats.
- Punched card
- A card where holes stand for instructions or data.
- Analytical Engine
- Babbage's design for a general-purpose mechanical computer.
- Symbol
- A mark that stands for something, like a number, letter or note.
Sources
- L. F. Menabrea, Sketch of the Analytical Engine, translated with Notes by A. A. L. (Ada Lovelace), 1843.
- Christopher Hollings, Ursula Martin and Adrian Rice, Ada Lovelace: The Making of a Computer Scientist (Bodleian Library, 2018).
- Science Museum, London: Babbage's engines; Computer History Museum.
- Portrait: Alfred Edward Chalon (c. 1840), Wikimedia Commons, public domain.
← Mary Anning: sea dragons in the cliffs
All lessons in Enlightenment and the Industrial Revolution · Great Scientists