MathsFreePrintable

Coding and Maths Exploration

A free maths worksheet ready for your classroom. Open in Kuraplan to grab the print-ready PDF, customize it for your students, or generate a fresh version in seconds.

Coding and Maths Exploration worksheet preview
Name:Date:

Coding and Maths Exploration

Isla, Ruben and Wiremu are coding a cycling-race scoreboard. The program uses number patterns to show how far each rider has travelled. Read each code card carefully, work out the pattern, and help debug the scoreboard.

Find the pattern

A sequence is a list of numbers made by following a rule. A loop repeats instructions a set number of times.

1.The race display counts kilometres in 2s: 2, 4, 6, 8, __, __. Fill both gaps and write the rule.
2.Ruben's training tracker counts in 5s: 5, 10, 15, __, 25, __. Complete the sequence and identify the times table it follows.
3.A distance counter shows 3, 6, 9, 12. What are the next two numbers, and what is the rule?
4.Which sequence follows the rule “multiply by 2” each time?
  • 2, 4, 6, 8
  • 1, 2, 4, 8
  • 5, 10, 15, 20
  • 3, 6, 9, 12
5.A number-line display has kilometre markers at 0, 5, 10, 15 and 20. Which marker comes immediately after 10?
05101520

Test the code

A code loop repeats its instructions. For example: “repeat 4 times: add 3 to the score, then display the score” gives 3, 6, 9, 12.

6.Isla writes a loop that displays the first five numbers in the 4 times table, starting at 4. What five numbers should appear?
7.A buggy scoreboard is meant to count up in 4s to 20, but displays 4, 8, 13, 16, 20. What number is wrong, and what should replace it?
8.The code says “repeat 3 times: add 5 to the distance.” Starting from 0, what distances will it display after each repeat?
9.Why is a loop useful when coding a number pattern?
  • It repeats instructions without writing them out each time.
  • It changes every number into a colour.
  • It only works with even numbers.
  • It stops the program from showing numbers.

Plan a race-day program

Use what you have learned to design a simple scoreboard idea.

10.Create a five-number sequence for a race display. Write the five numbers and state the rule that connects them.
11.Wiremu wants his sprite to announce a rider’s distance in the 6 times table. Write the first four distances it should announce, starting at 6, and describe what the loop repeats.

3 printable pages

  • Coding and Maths Exploration, page 1 of 3: Find the pattern

    Page 1

  • Coding and Maths Exploration, page 2 of 3: Test the code, Plan a race-day program

    Page 2

  • Coding and Maths Exploration, page 3 of 3: 11. Wiremu wants his sprite to announce a rider’s distance in the 6 times table. Write…

    Page 3

About This Worksheet

Free in Kuraplan

Sign up free, grab the PDF, and customize it for your class.

Print-Ready

Formatted for standard paper. Clean layout, easy to read.

AI-Generated

Created with Kuraplan's AI, designed for real classroom use.

For Teachers & Parents

Use in classrooms, for homework, tutoring, or homeschool.

Need a custom version of this worksheet?

Kuraplan's AI generates custom worksheets in seconds — differentiated for every learner, aligned to your curriculum.

Generate Custom Worksheets — Free
No credit card Curriculum-aligned Under 60 seconds