Computers have been in schools for a long time, but schoolchildren in England are now the guinea pigs for one of the most ambitious computing education programs in the world.

All children between the ages of 5 and 16 in English public schools are now learning computer science — not just how to use software, but how to create it, too. Teenagers will have to master at least two programming languages: Java and Python. And then there are the kids in elementary school.

“The big change is that it’s now compulsory to teach [computer science to] our primary school children,” says Sophie Deen, head of a non-profit group called Code Club Pro that's helping to train teachers for the new curriculum.

“So [that’s] 5-years-old onwards,” says Deen. “Teaching children how to code and how to program computers, and also teaching them about computational thinking, which is the ability to look at problems, break them down into their component parts and try to think of a way to solve them using computers.”

When challenged about the wisdom of teaching algorithms to 5-year-olds, Deen says "it sounds more difficult than it actually is. An algorithm is a simple step-by-step instruction to solve any particular problem."

As an example, she uses a teacher named Philip Bagge, who stood in front of his class with ingredients for a jam sandwich. He played the part of a computer and challenged his students to "program" him to make the sandwich.

"So they might say, 'Pick up the butter with your right hand,' and he’ll pick up all of the butter — you know, he’ll get his fingers in it," Deen expains. "The kids roll around laughing ... but they really start understanding how to break down instructions so that they’re clear and simple enough, and that’s essentially what an algorithm is."

Using such methods, Deen says, "it's actually easy and fun to teach a 5-year-old an algorithm, and to get them to start thinking about the fact that computers are dumb, and that if we break things down very simply, we can get computers to do very cool and exciting things for us.”

Deen says the big picture goal is laid out “in the first sentence of the new national curriculum, which says ‘we want to equip pupils to use computational thinking and creativity to understand and change the world,’ which I think is so cool, because it’s such an inspiring aim.”