Community
Community resources
Computer science Worksheets and Python Workspaces shared by Coding Pathway teachers. Worksheets cover exam board theory as well as programming. Read any of them in full here. Teachers can copy one into their own lessons and edit it before setting it to a class.
Planning a whole course or unit? Our mapped pages put the teaching sequence in order with the Worksheets that cover it: OCR GCSE Computer Science (J277), Pearson Edexcel GCSE Computer Science (1CP2), OCR A Level Computer Science (H446), Python Turtle for Key Stage 3.
- 438 resources
- 3 teachers sharing
- Creative Commons licensed
Lists and arrays Worksheets
5 resources match. Newest first. Opening a resource shows the whole thing, with answers and marking held back.
H446 1.4.2 · Data structures
Includes OCR H446 1.4.2 Arrays, records, lists and tuples
OCR H446 1.4.2 expects students to choose between arrays, records, lists and tuples rather than reach for whichever structure is most familiar. This worksheet builds that choice from shape, meaning, mutability and the operations a program actually performs, using a creative-events app that holds seat grids, performer details, editable set lists and fixed colour values. Students will: - describe arrays, records, lists and tuples in terms of shape, access and whether values may change - choose a structure for a described requirement and reject one close alternative with reasons - explain how traversal, update, addition and removal differ across the four structures - design storage for a changing ordered collection of player records with named fields - complete closed-book sentences on structure choice without an answer bank Inside: 8 explanation cells, 3 multiple-choice questions, 1 fill-in-the-blanks cell and 2 written answers. 21 marks, about 40 to 50 minutes. Series: H446 1.4.2 · Data structures, part 1 of 14.
Worksheet1CP2-CT-9.2 One-dimensional structures reverse traversal and efficiency
Part 2 · 1CP2-CT-9 · Testing, structures and integrated solutions
A one-dimensional list stores an ordered sequence under one name. The first index is 0 and the last is len(values) - 1. Traversing backwards changes visit order; it does not sort or reverse the stored list. Students will: - traverse a one-dimensional structure in reverse order - predict changing indexes and output before execution - reason about efficiency from the work performed - construct a PLS-compatible reverse traversal Inside: 6 explanation cells, 1 fill-in-the-blanks cell, 2 multiple-choice questions, 3 written answers, 1 trace table and 1 Python task. 14 marks, about 45 minutes. Series: 1CP2-CT-9 · Testing, structures and integrated solutions, part 2 of 4.
WorksheetSeries · 4 parts1CP2-CT-3 · Lists, iteration and subprograms
Includes 1CP2-CT-3.1 One-dimensional lists and indexing
The opening list worksheet, establishing indexing and length before anything is changed or looped over. Students will: - use the terms array, list and index correctly - read a value from a list by its index - predict the exact outputs of a short listing - create a list and use it in a program of their own - explain the runtime error an out-of-range index produces Inside: 6 explanation cells, 3 multiple-choice questions, 1 Python task, 1 fill-in-the-blanks cell and 2 written answers. 15 marks, about 45 minutes. Series: 1CP2-CT-3 · Lists, iteration and subprograms, part 1 of 7.
WorksheetSeries · 2 partsJ277 2.2.3 · Strings, arrays and functions
Includes J277 2.2.3 One-dimensional arrays and Python lists
One-dimensional arrays, represented in these worksheets by Python lists. Students will: - create a list and access elements by index - update an element in place - explain how an OCR array relates to a Python list - avoid index errors at the start and end of a list - build a list from a stated requirement Inside: 5 explanation cells, 3 runnable Python tasks, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 2 written answers. 16 marks, about 45 minutes. Series: J277 2.2.3 · Strings, arrays and functions, part 2 of 5.
WorksheetJ277 2.2.3 Two-dimensional arrays and records
Part 1 · J277 2.2.3 · Applied programming
Two-dimensional arrays and records, the two structures OCR uses for grids and for entities. Students will: - create a two-dimensional structure and access it by row and column - update a value at a given grid position - process every value with nested loops - represent one entity as a record with named fields - choose between a grid and a record for a requirement Inside: 6 explanation cells, 4 runnable Python tasks, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 2 written answers. 23 marks, about 60 minutes. Series: J277 2.2.3 · Applied programming, part 1 of 5.