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
Selection
5 resources match. Newest first. Opening a resource shows the whole thing, with answers and marking held back.
H446 2.2.1 · Programming techniques
Includes OCR H446 2.2.1 Control structures in OCR and Python
OCR H446 2.2.1 expects students to move between OCR's exam reference language and Python, where the same loop can carry different boundaries. This worksheet builds the sequence, selection and iteration model first, makes the FOR and range boundary difference explicit, then asks students to construct control flow from a stated requirement. Students will: - identify sequence, selection and iteration in a described requirement - translate OCR exam reference language loop boundaries into the equivalent Python range - trace a timetable algorithm and record how its state changes on each pass - write Python selection that assigns values across several discrete cases - recommend a loop type when the number of attempts is not known in advance and justify it Inside: 7 explanation cells, 2 multiple-choice questions, 1 fill-in-the-blanks cell, 2 written answers, 2 Python tasks and 1 trace table. 16 marks, about 25 to 35 minutes. Series: H446 2.2.1 · Programming techniques, part 1 of 14.
WorksheetOCR H446 2.1.4 Decisions, logical conditions and flow
Part 1 · H446 2.1.4 · Thinking logically
OCR H446 2.1.4 is about decisions that change the route through a solution, and about the boundary values where those decisions quietly go wrong. A community makerspace access policy gives students conditions to write, trace, repair and then extend. Students will: - identify a genuine decision point and the condition that controls it - write a Boolean condition combining membership, training and an age threshold - repair a comparison operator that fails only at the boundary value - trace nested decisions and explain why one route is never reached - implement the access routes in Python and extend the rule with an alternative condition Inside: 7 explanation cells, 1 multiple-choice question, 1 fill-in-the-blanks cell, 3 written answers, 1 Python task and 1 trace table. 19 marks, about 25 to 35 minutes. Series: H446 2.1.4 · Thinking logically, part 1 of 1.
WorksheetSeries · 3 parts1CP2-CT-2 · Selection, strings and while loops
Includes 1CP2-CT-2.3 Simple selection and relational operators
The first selection worksheet, covering the six relational operators and the shape of a one-way and two-way decision. Students will: - use each of the six relational operators correctly - tell the code inside a decision apart from the code after it - write a condition that includes its boundary value - write one-way and two-way selection of their own - choose test data either side of a boundary Inside: 7 explanation cells, 3 multiple-choice questions, 2 Python tasks, 2 fill-in-the-blanks cells and 2 written answers. 20 marks, about 45 minutes. Series: 1CP2-CT-2 · Selection, strings and while loops, part 3 of 8.
Worksheet1CP2-CT-5.6 Authentication with ID and password lookup
Part 6 · 1CP2-CT-5 · Merge sort, files and authentication
The authentication worksheet, matching a credential pair on the same record rather than anywhere in the file. Students will: - keep validation and authentication distinct - explain why matching fields independently is insecure - implement a lookup that compares both fields of one record - describe the stages of authenticating against an accounts file - give three authentication tests with expected outcomes Inside: 7 explanation cells, 3 multiple-choice questions, 1 Python task, 1 fill-in-the-blanks cell and 3 written answers. 20 marks, about 45 minutes. Series: 1CP2-CT-5 · Merge sort, files and authentication, part 6 of 7.
WorksheetSeries · 2 partsJ277 2.2.1-2.2.2 · Programming fundamentals
Includes J277 2.2.1 Selection
Selection: choosing which statements run, and getting the boundaries right. Students will: - write an if statement with elif and else branches - use indentation to show which statements belong to a branch - handle boundary values correctly - choose between separate ifs and a chain of branches - write a program that sorts input into categories Inside: 5 explanation cells, 3 runnable Python tasks, 2 multiple-choice questions and 2 written answers. 14 marks, about 45 minutes. Series: J277 2.2.1-2.2.2 · Programming fundamentals, part 4 of 7.