ÌÇÐÄVlog

Please consent to cookies to view content.

' ); iframeDoc.close(); } } } } } const observer = new MutationObserver(switchSrc); observer.observe(document.documentElement, { childList: true, subtree: true, }); })();

ÌÇÐÄVlog

Last updated

26 October 2026

pptx, 395.73 KB
pptx, 395.73 KB
pptx, 395.96 KB
pptx, 395.96 KB

30 Python trace table tasks for GCSE Computer Science, from simple for loops to 2D lists and subroutines. Colour-coded and every answer checked by code.

A bank of 30 original trace table tasks in Python that build in difficulty. Use them as starters, a full lesson, homework or exam revision. Suitable for AQA, OCR, Edexcel and WJEC GCSE Computer Science.

30 tasks in 9 sections

  • For loops (tasks 1 to 4)
  • Selection in loops (5 to 7)
  • User input (8 to 10)
  • Strings (11 to 14)
  • While loops (15 to 18)
  • Nested loops (19 to 20)
  • Lists (21 to 24)
  • 2D lists (25 to 26)
  • Subroutines (27 to 30)

Every task includes

  • The Python code with colour highlighting
  • A trace table already sized with the right columns and number of rows
  • “The user enters these valuesâ€� inputs where needed
  • A difficulty label: green, amber or red
  • A teacher note explaining the tricky part, to use as a hint

What’s included

  • Task deck (editable PowerPoint, 34 slides) with a rules slide and contents page
  • Answer deck with every trace table completed in red

Every program has been run to check that the answers are correct.

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have purchased this resource can review it

to let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.