Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Introduction to Coding and Programming

Read about what programming is, and why coding is an important part.
Computers can help us with a wide range of problems, but in order for this to happen, we need to undertake a 2-step process:

  1. Formulate the precise sequence of steps needed to solve the problem. This is known as an algorithm.

  2. Give the algorithm to a computer in a language it understands, so that it can perform the task(s) we give it. This is known as coding.

The process of creating algorithms and turning them into code is called programming.

Algorithms + Coding = Programming

Natural language isn’t used for coding because it’s too imprecise. Here’s a joke that illustrates this point:

A programmer is going to the supermarket and is told: “Buy a pint of milk, and if there are eggs, buy a dozen.” The programmer goes to the supermarket, buys everything, and drives back to his house. Upon arrival, he is angrily asked “Why did you get 12 pints of milk?” The programmer says, “Because they had eggs!”

If there are eggs

In the next activity, you’re going to code an algorithm to tell a ‘Knock Knock’ joke.

This article is from the free online

Teaching Programming in Primary Schools

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now