FreeMathWorksheet
FreeMathWorksheet

Mixed Difficulty

TN-PROG-GR5-34750 · v1.-9

Debugging in Exam Questions

Grade 5 · Programming · Debugging · Cambridge (CAIE)

Grade

Grade 5

Subject

Programming

Topic

Debugging

Subtopic

Debugging in Exam Questions

Curriculum

Cambridge (CAIE)

Difficulty

Mixed

Time

35 minutes

Total marks

46

Student name

Teacher name

Date

Learning objectives

  • Recognise debugging in exam questions accurately in programming contexts.
  • Explain the underlying rule of debugging in exam questions in the student's own words.
  • Apply debugging in exam questions to multi-step and unfamiliar problems.
  • Justify a chosen method and identify errors in another student's work.

Skills assessed

  • Fluency and recall
  • Method and setting out
  • Reasoning and justification
  • Problem solving in context
  • Self-assessment

Instructions

  1. Write your name, your teacher's name and the date in the header.
  2. Answer every question in the space provided. Continue on the back if needed.
  3. Show all working — method marks are awarded even when the final answer is wrong.
  4. Aim to finish in about 35 minutes.
  5. Complete the reflection box at the end before you hand the sheet in.

Warm-up

Bloom: Remember · 4 marks

Answer quickly. These check you are ready for the topic.

  1. 1.State one fact you already know about debugging in exam questions.

    [1]
  2. 2.State one fact you already know about debugging in exam questions.

    [1]
  3. 3.Name one fact you already know about debugging in exam questions.

    [1]
  4. 4.Circle one fact you already know about debugging in exam questions.

    [1]

Recall

Bloom: Remember · 4 marks

Complete from memory. No calculator, no notes.

  1. 1.Define the key term used in debugging in exam questions described here: item 1.

    [1]
  2. 2.List the key term used in debugging in exam questions described here: item 2.

    [1]
  3. 3.List the key term used in debugging in exam questions described here: item 3.

    [1]
  4. 4.Define the key term used in debugging in exam questions described here: item 4.

    [1]

FreeMathWorksheet · TN-PROG-GR5-34750 · v1.-9

© 2026 FreeMathWorksheet. Licensed for classroom and home use. Redistribution or resale is not permitted.

Page 1 of 4

FreeMathWorksheet · Grade 5 Programming

Debugging in Exam Questions

Basic Practice

Bloom: Understand · 5 marks

Work through each item. Show the step you used.

  1. 1.Identify part 1 using the rule for debugging in exam questions.

    [1]
  2. 2.Work out part 2 using the rule for debugging in exam questions.

    [1]
  3. 3.Work out part 3 using the rule for debugging in exam questions.

    [1]
  4. 4.Work out part 4 using the rule for debugging in exam questions.

    [1]
  5. 5.Complete part 5 using the rule for debugging in exam questions.

    [1]

Guided Practice

Bloom: Understand · 8 marks

The first step is given. Finish the reasoning.

  1. 1.Using the first step given, finish part 1. Step 1 has been started for you.

    [2]
  2. 2.Using the first step given, finish part 2. Step 1 has been started for you.

    [2]
  3. 3.Complete the method for part 3. Step 1 has been started for you.

    [2]
  4. 4.Continue the working for part 4. Step 1 has been started for you.

    [2]

FreeMathWorksheet · TN-PROG-GR5-34750 · v1.-9

© 2026 FreeMathWorksheet. Licensed for classroom and home use. Redistribution or resale is not permitted.

Page 2 of 4

FreeMathWorksheet · Grade 5 Programming

Debugging in Exam Questions

Independent Practice

Bloom: Apply · 10 marks

No scaffolding. Set out your full method.

  1. 1.Determine part 1 on debugging in exam questions without help.

    [2]
  2. 2.Determine part 2 on debugging in exam questions without help.

    [2]
  3. 3.Solve part 3 on debugging in exam questions without help.

    [2]
  4. 4.Work out fully part 4 on debugging in exam questions without help.

    [2]
  5. 5.Work out fully part 5 on debugging in exam questions without help.

    [2]

Challenge Questions

Bloom: Analyse · 9 marks

Harder items. Attempt every one, even partially.

  1. 1.Show that the statement in part 1 about debugging in exam questions.

    [3]
  2. 2.Show that the statement in part 2 about debugging in exam questions.

    [3]
  3. 3.Prove the statement in part 3 about debugging in exam questions.

    [3]

FreeMathWorksheet · TN-PROG-GR5-34750 · v1.-9

© 2026 FreeMathWorksheet. Licensed for classroom and home use. Redistribution or resale is not permitted.

Page 3 of 4

FreeMathWorksheet · Grade 5 Programming

Debugging in Exam Questions

Real-life Application

Bloom: Apply · 6 marks

Use the skill in context. State units in your answer.

  1. 1.Apply a real programming situation that depends on debugging in exam questions.

    [3]
  2. 2.In context, work out a real programming situation that depends on debugging in exam questions.

    [3]

Reflection

Bloom: Create · 0 marks

Not marked. Answer honestly — this guides your next worksheet.

  1. 1.Reflect on how confident you feel with debugging in exam questions and what you will practise next.

    [—]
  2. 2.Describe how confident you feel with debugging in exam questions and what you will practise next.

    [—]

FreeMathWorksheet · TN-PROG-GR5-34750 · v1.-9

© 2026 FreeMathWorksheet. Licensed for classroom and home use. Redistribution or resale is not permitted.

Page 4 of 4