Safekipedia

Computer program

Adapted from Wikipedia · Explorer experience

An IBM Personal Computer on display at the Musée Bolo in Lausanne, showcasing an important piece of computing history.

A computer program is a special set of steps that tell a computer what to do. Think of it like a recipe for baking cookies. Just like a recipe has instructions for mixing and baking, a computer program has instructions for a computer to follow.

Computer programs are written in something called a programming language. This is a way to write instructions that computers can understand. There are many different programming languages, and each one has its own set of words and rules.

When you want a computer to do something, it uses a program. For example, when you play a game or draw pictures on a tablet, a computer program is making that happen. The program tells the computer exactly what steps to take to make the game fun or the drawing tools work.

People have been writing computer programs for a very long time. One of the first big steps was when a scientist named Charles Babbage tried to build a machine called the Analytical Engine. This machine was supposed to follow steps to do calculations. Even though it wasn’t finished, it was a big idea that helped us learn how to make computers work.

Today, computer programs help us in so many ways. They help us send messages, watch videos, learn new things, and even control machines that make things. Every time you use a computer, tablet, or phone, a computer program is working behind the scenes to make it all possible.

Images

A snippet of JavaScript code that shows how to display the names of the weekdays in a web browser.
Historical diagram showing an early computer algorithm for calculating Bernoulli numbers, created by Ada Lovelace in the 1840s.
An old computer circuit board from the 1960s, showing early technology used in IBM computers.
A vintage DEC VT100 computer terminal on display at the Living Computer Museum.
Technical screenshot showing computer program output from a W65C816S microprocessor
A helpful diagram showing how symbols are used in language rules, from a math and computer science book.
An educational diagram showing the difference between programs, processes, and threads in computer science.
A close-up image of a microprocessor chip, showing its intricate design and structure.
A simple example of source code showing how classes and methods work in programming.
A diagram showing how computer memory is organized and used.

Related articles

This article is a child-friendly adaptation of the Wikipedia article on Computer program, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.