Choose exam board for KS4 Computer Science (GCSE)
Choose exam board for KS4 English
Choose exam board for KS4 French
Choose exam board for KS4 Geography
Choose exam board for KS4 German
Choose exam board for KS4 History
Choose tier for KS4 Maths
Choose exam board for KS4 Music
Choose exam board for KS4 Physical education (GCSE)
Choose exam board for KS4 Religious education (GCSE)
Choose exam board for KS4 Spanish

Using repetition in programming to create a game

Downloads can take a few minutes, especially for larger files or slower connections.

Threads

Why this why now

Having previously explored repetition in programming using Logo, pupils now apply and extend this knowledge in the Scratch environment. They compare the two languages to recognise similarities and differences, before exploring both count-controlled and infinite loops. By modifying existing animations and games, pupils see how repetition can simplify and enhance code. The unit concludes with pupils designing and creating their own game, applying repetition and the stages of program design. This experience strengthens their ability to plan, structure, and refine programs.

Prior knowledge requirements

  • Pupils can create sequences in block-based programs.
  • Pupils recognise the need to change the flow of control of programs.
  • Pupils understand how to use count-controlled iteration in programs.
  • Pupils can design and implement simple programming projects.

Threads

Why this why now

Having previously explored repetition in programming using Logo, pupils now apply and extend this knowledge in the Scratch environment. They compare the two languages to recognise similarities and differences, before exploring both count-controlled and infinite loops. By modifying existing animations and games, pupils see how repetition can simplify and enhance code. The unit concludes with pupils designing and creating their own game, applying repetition and the stages of program design. This experience strengthens their ability to plan, structure, and refine programs.

Prior knowledge requirements

  • Pupils can create sequences in block-based programs.
  • Pupils recognise the need to change the flow of control of programs.
  • Pupils understand how to use count-controlled iteration in programs.
  • Pupils can design and implement simple programming projects.

Using repetition in programming to create a game

In this unit, pupils will explore the concept of repetition in programming in the Scratch environment. Pupils will look at the difference between count-controlled and infinite loops. They will use their knowledge to modify, design and create games and animations that involve repetition.