Community

Exam practice Worksheets

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.

  • 440 resources
  • 3 teachers sharing
  • Creative Commons licensed

Exam practice Worksheets

Showing 25 to 33 of 33. Newest first. Opening a resource shows the whole thing, with answers and marking held back.

WorksheetSeries · 3 parts

J277 2.1.2 · Tracing and refining algorithms

Includes J277 2.1.2 Completing, correcting and refining algorithms

The OCR question types that hand students an algorithm to complete, correct or refine. Students will: - work from the stated purpose and test data rather than guessing - complete missing statements in an algorithm - find and correct a logic error in an accumulator - validate an inclusive range correctly - refine an algorithm to meet a new requirement Inside: 7 explanation cells, 3 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.1.2 · Tracing and refining algorithms, part 1 of 3.

By Coding Pathway · 15 cells · 60 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRAlgorithmsPractice
WorksheetSeries · 4 parts

J277 2.1.3 · Searching and sorting

Includes J277 2.1.3 Linear and binary searching

The two search algorithms in OCR J277, understood and applied rather than memorised as code. Students will: - describe the steps of a linear search - describe the steps of a binary search - state the prerequisite binary search depends on - apply both algorithms to given data - recognise each algorithm from code Inside: 5 explanation cells, 2 runnable Python tasks, 3 multiple-choice questions and 3 written answers. 16 marks, about 45 minutes. Series: J277 2.1.3 · Searching and sorting, part 1 of 4.

By Coding Pathway · 13 cells · 45 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRAlgorithmsSearching and sorting
WorksheetSeries · 2 parts

J277 2.5 · Programming languages and IDEs

Includes J277 2.5.1 High- and low-level languages

What high-level and low-level actually describe, and why the difference matters to a programmer. Students will: - define high-level and low-level languages - explain what the terms do and do not describe - give the characteristics of each level - explain why a high-level program must be translated - choose a suitable level for a stated purpose Inside: 4 explanation cells, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 4 written answers. 19 marks, about 45 minutes. Series: J277 2.5 · Programming languages and IDEs, part 1 of 4.

By Coding Pathway · 11 cells · 45 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRLanguages and translatorsIntroduction
WorksheetSeries · 2 parts

J277 2.3 · Producing robust programs

Includes J277 2.3.2 Test data and test plans

Choosing test data deliberately, and setting it out in a test plan with expected results. Students will: - define normal, boundary, invalid and erroneous test data - choose values that sit on the edge of a stated rule - build a test plan with expected results - recognise when more than one label applies to a value - use an expected result to expose a fault Inside: 5 explanation cells, 1 runnable Python task, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 4 written answers. 21 marks, about 45 minutes. Series: J277 2.3 · Producing robust programs, part 6 of 7.

By Coding Pathway · 13 cells · 45 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRTesting and debuggingExam practice
WorksheetSeries · 3 parts

J277 Paper 2 · Exam transition

Includes J277 2 Paper 2 exam language and response precision

How OCR Paper 2 is structured, and what each question's wording asks you to produce. Students will: - describe what Section A and Section B each assess - decide the response form a question requires - turn a vague answer into one that earns the marks - write a programming response with the precision a marker needs - use a repeatable checking routine before moving on Inside: 6 explanation cells, 1 runnable Python task, 1 multiple-choice question, 1 fill-in-the-blanks cell and 3 written answers. 18 marks, about 45 minutes. Series: J277 Paper 2 · Exam transition, part 1 of 5.

By Coding Pathway · 12 cells · 45 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRAlgorithmsConsolidation
WorksheetSeries · 5 parts

J277 Paper 1 · Exam transition

Includes J277 1 Paper 1 exam language and response precision

Focused Paper 1 practice in interpreting command words and developing relevant answers. Students will: - match the answer to the command word and available marks - develop a technical property into a benefit and a contextual consequence - correct vague or inaccurate technical claims - support a choice and explain its limitations Inside: 5 text sections, 2 multiple-choice activities, 2 completion activities, 6 written answers. 24 marks. Suggested time: 50–70 minutes. 1 diagram. Includes a teacher guide with sections, timings, misconceptions and repair routes. Series: J277 Paper 1 · Exam transition, part 1 of 7.

By Coding Pathway · 15 cells · 60 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCREthical, legal and environmentalExam practice
Worksheet

J277 1.6.1 Extended-response workshop

Part 4 · J277 1.6 · Digital impacts: Depth

A workshop leading to one genuine eight-mark discussion, with optional improvement after feedback. Students will: - develop a contextual point and counterpoint - prepare a focused ethical concern and data-handling action - write an independent discussion of ethical, privacy and legal issues - justify a recommendation using competing effects - improve one paragraph after feedback Inside: 5 text sections, 1 multiple-choice activity, 6 written answers. 19 marks. Suggested teaching time: 45–65 minutes. 1 diagram. The total includes an optional two-mark paragraph repair. Includes a teacher guide with suggested sections, timings and common misconceptions. Series: J277 1.6 · Digital impacts: Depth, part 4 of 4.

By Coding Pathway · 12 cells · 60 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCREthical, legal and environmentalExam practice
Worksheet

J277 2.4.1 Logic diagrams

Part 3 · J277 2.4 · Boolean logic

Reading and constructing the logic diagrams OCR uses to show how gates are connected. Students will: - trace a Boolean value from input to output through a diagram - write the expression a given diagram represents - draw a diagram for an expression that includes NOT - treat a bracketed section as an input to the next gate - find and correct the fault in an incorrect diagram Inside: 5 explanation cells, 1 multiple-choice question, 1 fill-in-the-blanks cell and 4 written answers. 16 marks, about 45 minutes. Series: J277 2.4 · Boolean logic, part 3 of 4.

By Coding Pathway · 11 cells · 45 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRBoolean logicExam practice
WorksheetSeries · 3 parts

J277 2.2.3 · Applied programming

Includes J277 2.2.3 File handling

Persistent storage taught in OCR Exam Reference Language first, then the same open, read, write and close operations in runnable Python. Students will: - explain why a file keeps data that a variable does not - use open, readLine, writeLine and close in the right order - read every line of a file using endOfFile in a loop - carry the same operations across into Python, with the mode strings supplied - write a file-handling procedure that uses the parameters it is given Inside: 8 explanation cells, 2 runnable Python tasks, 1 multiple-choice question, 3 fill-in-the-blanks cells and 1 written answer. 21 marks, about 45 minutes. Series: J277 2.2.3 · Applied programming, part 2 of 5.

By Coding Pathway · 15 cells · 45 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRFile handlingIntroduction