鶹Լ

Video summary

This short film for primary schools explains how repetition within computing allows a command to be repeated to make a computer program more efficient.

The film introduces a simple program that moves an animated robot across a screen and uses flow diagrams to show how adding a repeat command makes the program more efficient.

The idea of repeat loops are introduced, with fixed loops explored using the example of a digital printer. The use of 'until' in a repeat loop is also explored.

The film finishes by explaining how introducing a question into a repeat loop, to form a conditional loop, makes complex programs more efficient.

This short film is from the 鶹Լ Teach series, Cracking Computing.

Teaching Notes

Real world analogies are a great way to start exploring repetition in programming as they emphasise the way that using repetition language makes a process more efficient.

Identifying real world examples of repeat loops, like a printer, are also a good way to focus pupils on the way we use technology every day and its impact on our lives.

Programming a physical system or simulation like a flashing warning light is also a good way to learn about repetition loops, how they are programmed and what the outcomes look like.

Another good way to introduce repetition is by using a simple programming language like Logo to draw shapes with repeated elements. For example, a square can be created by repeating the element: “forward 10 steps, right 90 degrees” four times.

Other subjects

Maths: Writing instructions for drawing regular shapes is a great way to start thinking about repetition. Once pupils are confident with writing the instructions in English, they could then move to writing them in a programming language like Logo or Scratch.

Art & design: The creation of repeated patterns using motifs and pattern elements is an important part of the decorative arts for things like wallpaper and textile design. Using a computer program to automate this repeat process is a good way to apply this concept to a real-world example.

This short film is suitable for teaching:

  • KS2 computing curriculum in England
  • Technologies curriculum area at 2nd Level in Scotland
  • KS2 digital competence framework in Wales
  • KS2 using ICT cross-curricular skill in Northern Ireland

Algorithms. video

This short film for primary schools outlines how algorithms are sets of instructions to make something happen, before explaining further using a recipe analogy.

Algorithms

Computer networks. video

This short film explains computer networks. It looks at different types of computer network and the elements that make up a basic network including clients, servers, switches and hubs.

Computer networks

Creating with computing. video

This short film explores the many creative computing tools we have access to, with a focus on how they are used to create new creative content and media.

Creating with computing

Debugging. video

This short film uses computer games to explain debugging, which is the process of finding and correcting errors in computer programs.

Debugging

Decomposition. video

This short film explains how decomposition involves breaking one big problem down into smaller, more manageable problems that can be tackled step by step.

Decomposition

Input and output. video

This short film gives a brief history of input and output methods with examples, and brings us up to date with examples of familiar input and output devices that we use every day.

Input and output

Logical reasoning. video

This short film outlines logical reasoning as ‘sensible thinking’ when following rules, and explains how a problem with a computer program can be solved using logical reasoning.

Logical reasoning

Search technologies. video

This short film gives a brief history of the development of the internet and the invention of the world wide web by Sir Tim Berners-Lee, and explains the role of a search engine.

Search technologies

Selection. video

This short film covers the use of selection in simple computer programs, and shows how this idea of yes/no questions can allow computers to respond to external conditions and select different paths.

Selection

Sequencing. video

This short film covers the concept of sequencing, or making sure things are in the right order, and explores what might happen if things are done in the wrong order, or sequence.

Sequencing

Variables. video

This short film explores how computers use variables to store things that change, like names, numbers and scores.

Variables

Working with data. video

This short film explores how data is collected using digital devices in response to questions, and how it is organised into tables, records and fields on a computer system.

Working with data