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

Practice Worksheets

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

WorksheetSeries · 2 parts

J277 2.2.3 · Strings, arrays and functions

Includes J277 2.2.3 Processing arrays with loops

The loop patterns that appear in almost every OCR array question. Students will: - total and average the values in a list - count values that meet a condition - find a maximum or minimum correctly - update every element with a loop - debug a faulty minimum-finding algorithm Inside: 6 explanation cells, 4 runnable Python tasks, 3 multiple-choice questions and 2 written answers. 18 marks, about 45 minutes. Series: J277 2.2.3 · Strings, arrays and functions, part 3 of 5.

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

GCSEOCRIterationLists and arrays
Worksheet

J277 2.5.2 IDE tools and facilities

Part 3 · J277 2.5 · Programming languages and IDEs

The four IDE facilities OCR names, described by what they do for the programmer rather than by their own name. Students will: - explain what makes a development environment integrated - describe the editor and the features that help most - describe error diagnostics and the run-time environment - explain the translator's place in an IDE - avoid circular descriptions of a named tool Inside: 5 explanation cells, 1 runnable Python task, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 3 written answers. 20 marks, about 45 minutes. Series: J277 2.5 · Programming languages and IDEs, part 3 of 4.

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

GCSEOCRLanguages and translatorsPractice
WorksheetSeries · 2 parts

J277 2.2.1-2.2.2 · Programming fundamentals

Includes J277 2.2.1 Condition-controlled iteration

Condition-controlled iteration, for when the number of repetitions is not known in advance. Students will: - explain when a while loop is the right choice - write a loop whose condition can become false - avoid loops that never finish - trace the values the condition depends on - repeat until a threshold is reached Inside: 6 explanation cells, 3 runnable Python tasks, 4 multiple-choice questions and 2 written answers. 15 marks, about 45 minutes. Series: J277 2.2.1-2.2.2 · Programming fundamentals, part 6 of 7.

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

GCSEOCRIterationPractice
WorksheetSeries · 2 parts

J277 2.3 · Producing robust programs

Includes J277 2.3.1 Input validation methods

The validation methods OCR expects, and how to apply one to the input a question actually describes. Students will: - name the common validation methods and what each checks - choose a suitable method for a stated input - explain a method against the scenario rather than in general - explain what validation does not prove - describe what a program should do with invalid data Inside: 5 explanation cells, 3 multiple-choice questions, 1 fill-in-the-blanks cell and 3 written answers. 22 marks, about 45 minutes. Series: J277 2.3 · Producing robust programs, part 2 of 7.

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

GCSEOCRValidationDefensive design
Worksheet

J277 1 Paper 1 calculations and working

Part 2 · J277 Paper 1 · Exam transition

Non-calculator Paper 1 arithmetic, practised with the working set out the way a marker needs to see it. Students will: - convert between denary, binary and hexadecimal - add binary numbers and handle a carry - carry out left and right binary shifts - calculate image and sound file sizes with the correct units - check whether an answer is a sensible size Inside: 7 explanation cells, 3 number grids, 2 multiple-choice questions and 4 written answers. 36 marks, about 60 minutes. Series: J277 Paper 1 · Exam transition, part 2 of 5.

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

GCSEOCRData representationBinary and hexadecimal
WorksheetSeries · 4 parts

J277 1.2.4 · Number systems

Includes J277 1.2.4 Binary foundations

The starting point for binary in OCR J277 section 1.2, building place value before any conversion is attempted. Students will: - explain why computers represent data using binary - use the place values in an 8-bit binary number - identify the most significant and least significant bit - distinguish the number of values from the maximum value - explain why leading zeros do not change a value Inside: 6 explanation cells, 2 number grids, 3 multiple-choice questions, 1 fill-in-the-blanks cell and 2 written answers. 22 marks, about 60 minutes. Series: J277 1.2.4 · Number systems, part 1 of 5.

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

GCSEOCRData representationBinary and hexadecimal
WorksheetSeries · 6 parts

J277 1.3 · Networks

Includes J277 1.3.1 Network types and roles

The opening worksheet of OCR J277 section 1.3, separating the area a network covers from the roles computers perform on it. Students will: - distinguish a LAN from a WAN - give common examples of both - describe the roles of clients, servers and peers - compare client-server with peer-to-peer - recommend a suitable arrangement for a scenario Inside: 5 explanation cells, 2 multiple-choice questions, 2 fill-in-the-blanks cells and 6 written answers. 40 marks, about 75 minutes. Series: J277 1.3 · Networks, part 1 of 7.

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

GCSEOCRNetworksPractice
WorksheetSeries · 2 parts

J277 1.4 · Network security

Includes J277 1.4.1 Threats and attacks

The forms of attack named in OCR J277 section 1.4, studied defensively: no attack code and no technical commands. Students will: - explain malware and the behaviour of its common types - explain social engineering and phishing - explain brute-force and denial of service attacks - explain data interception, theft and the concept of SQL injection - identify the attack at work in an unfamiliar scenario Inside: 7 explanation cells, 2 multiple-choice questions, 3 fill-in-the-blanks cells and 4 written answers. 46 marks, about 75 minutes. Series: J277 1.4 · Network security, part 1 of 3.

By Coding Pathway · 16 cells · 75 min · CC BY-SA 4.0 · Shared 17 Aug 2026

GCSEOCRNetwork securityCyber security
WorksheetSeries · 5 parts

J277 1.2.1-1.2.3 · Memory and storage

Includes J277 1.2.1 Primary storage

The opening worksheet on memory and storage, covering RAM, ROM and where cache fits. Students will: - explain why a computer needs primary storage - compare RAM and ROM - describe the purpose of each - explain the role of cache - replace the vague storage answers examiners penalise Inside: 7 explanation cells, 4 multiple-choice questions, 1 fill-in-the-blanks cell and 4 written answers. 27 marks, about 60 minutes. Series: J277 1.2.1-1.2.3 · Memory and storage, part 1 of 6.

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

GCSEOCRMemory and storagePractice
WorksheetSeries · 4 parts

J277 1.6 · Digital impacts: Essentials

Includes J277 1.6.1 Impacts on wider society

The opening worksheet of OCR J277 section 1.6, introducing the five issue areas the specification asks students to discuss. Students will: - recognise the ethical, legal, cultural, environmental and privacy lenses - identify the people and groups a technology affects - explain positive and negative impacts for each - distinguish what is legal from what is ethical - build a developed, scenario-based paragraph Inside: 5 explanation cells, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 4 written answers. 37 marks, about 60 minutes. Series: J277 1.6 · Digital impacts: Essentials, part 1 of 5.

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

GCSEOCREthical, legal and environmentalPractice
WorksheetSeries · 4 parts

J277 1.2.4-1.2.5 · Data representation

Includes J277 1.2.4 Characters and text

How text is stored in binary, covering character sets, ASCII, Unicode and text-file size. Students will: - explain what a character set is - explain how characters are represented in binary - relate bits per character to the number of available codes - compare ASCII and Unicode - calculate the size of a simple text file Inside: 6 explanation cells, 4 multiple-choice questions, 1 fill-in-the-blanks cell and 5 written answers. 27 marks, about 60 minutes. Series: J277 1.2.4-1.2.5 · Data representation, part 1 of 5.

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

GCSEOCRData representationPractice
Worksheet

J277 2.1.2 From problems to algorithms

Part 3 · J277 2.1.1-2.1.2 · Computational thinking and algorithms

Moving between a written problem, OCR Exam Reference Language and runnable Python. Students will: - describe an algorithm as precise, ordered and finite steps - read Exam Reference Language and explain the logic - move between pseudocode and Python for the same algorithm - implement a described algorithm in Python - check an algorithm against its stated purpose Inside: 5 explanation cells, 2 runnable Python tasks, 4 multiple-choice questions, 1 fill-in-the-blanks cell and 2 written answers. 17 marks, about 45 minutes. Series: J277 2.1.1-2.1.2 · Computational thinking and algorithms, part 3 of 3.

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

GCSEOCRAlgorithmsPractice
Worksheet

J277 2.4.1 Combined Boolean operators and truth tables

Part 2 · J277 2.4 · Boolean logic

Expressions that use more than one operator, worked with intermediate columns so the method stays reliable. Students will: - work outwards from the innermost operation in an expression - use an intermediate column for each smaller part - work out how many rows a truth table needs - complete a truth table for a combined two-input expression - complete a truth table for a three-input expression with brackets Inside: 5 explanation cells, 2 multiple-choice questions, 2 fill-in-the-blanks cells and 2 written answers. 23 marks, about 45 minutes. Series: J277 2.4 · Boolean logic, part 2 of 4.

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

GCSEOCRBoolean logicPractice
WorksheetSeries · 3 parts

J277 2.2.3 · Applied programming

Includes J277 2.2.3 Two-dimensional arrays and records

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.

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

GCSEOCRLists and arraysData structures