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
Scaffolded support Worksheets
Showing 25 to 48 of 52. Newest first. Opening a resource shows the whole thing, with answers and marking held back.
1CP2-CT-2 · Selection, strings and while loops
Includes 1CP2-CT-2.1 String length, position and indexing
The opening string worksheet, establishing that positions begin at zero before anything is sliced. Students will: - use len() and read a character by its index - predict the exact output of a short indexing listing - explain what a negative index selects - complete and then write a lookup that indexes user input - debug an off-by-one index rather than blaming the data Inside: 7 explanation cells, 3 multiple-choice questions, 2 Python tasks, 1 fill-in-the-blanks cell and 2 written answers. 18 marks, about 45 minutes. Series: 1CP2-CT-2 · Selection, strings and while loops, part 1 of 8.
WorksheetSeries · 2 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 · 3 parts1CP2-CT-1 · Programming foundations
Includes 1CP2-CT-1.2 Decomposition and abstraction
The second Computational thinking worksheet, teaching decomposition and abstraction as two techniques that work together. Students will: - break a problem into purposeful sub-problems and say why that helps - decide which details a model should keep and which it should leave out - relate the detail kept to the purpose the model serves - apply both techniques to an unfamiliar system - explain a design decision rather than merely describe it Inside: 11 explanation cells, 3 multiple-choice questions, 1 fill-in-the-blanks cell and 3 written answers. 19 marks, about 45 minutes. Series: 1CP2-CT-1 · Programming foundations, part 2 of 7.
Worksheet1CP2-P-7.4 The four-layer TCP IP model
Part 4 · 1CP2-P-7 · Embedded systems, IoT and TCP/IP
The TCP/IP worksheet, establishing the four layers in order and the direction data moves through them. Students will: - place the four layers in order and state the direction of travel - assign the right responsibility to each layer - describe two responsibilities of the transport layer - explain one benefit of a layered protocol model - follow a web request down the stack and back up at the receiver Inside: 5 explanation cells, 3 multiple-choice questions, 2 fill-in-the-blanks cells and 4 written answers. 20 marks, about 45 minutes. Series: 1CP2-P-7 · Embedded systems, IoT and TCP/IP, part 4 of 6.
WorksheetSeries · 3 parts1CP2-P-4 · Operating systems and utilities
Includes 1CP2-P-4.2 Process and memory management
The scheduling and memory worksheet, explaining how one processor appears to run several programs at once. Students will: - explain why an unfinished process returns to the queue - describe how scheduling makes processes appear to progress together - state accurately what virtual memory does - explain why excessive paging reduces performance - keep the terms program, process and file distinct Inside: 5 explanation cells, 3 multiple-choice questions, 2 fill-in-the-blanks cells and 3 written answers. 16 marks, about 45 minutes. Series: 1CP2-P-4 · Operating systems and utilities, part 2 of 7.
Worksheet1CP2-P-1.4 Signed integers and two's complement foundations
Part 4 · 1CP2-P-1 · Binary foundations
The signed representation worksheet, introducing two's complement as the method behind the negative patterns. Students will: - decide whether a value needs a signed or an unsigned representation - state the 8-bit ranges for both interpretations - interpret an 8-bit two's complement pattern in denary - represent a negative denary value using the full invert-and-add method - diagnose the recurring error of stopping after the inversion Inside: 9 explanation cells, 1 multiple-choice question, 4 number cells, 3 fill-in-the-blanks cells and 1 written answer. 20 marks, about 45 minutes. Series: 1CP2-P-1 · Binary foundations, part 4 of 5.
WorksheetSeries · 2 parts1CP2-P-5 · Cyber security and robust software
Includes 1CP2-P-5.1 Malware types and behaviours
The opening cyber security worksheet, classifying malware by the mechanism it uses rather than by the harm it causes. Students will: - compare a virus with a worm by mechanism - identify the malware type a scenario describes - explain how a Trojan reaches a system and one harm it causes - explain why paying a ransomware demand is not a recovery plan - describe two different impacts malware could have on a school Inside: 6 explanation cells, 5 multiple-choice questions, 1 fill-in-the-blanks cell and 6 written answers. 20 marks, about 45 minutes. Series: 1CP2-P-5 · Cyber security and robust software, part 1 of 6.
WorksheetSeries · 2 parts1CP2-CT-5 · Merge sort, files and authentication
Includes 1CP2-CT-5.1 How merge sort works
The opening merge sort worksheet, following the divide and merge stages by hand before any code is written. Students will: - describe the divide stage and the merge stage separately - show the output after each comparison of a complete merge - explain why a merge only compares the two first unused values - identify the mistake behind a merge that concatenates instead - state one memory cost and one benefit of merge sort Inside: 6 explanation cells, 3 multiple-choice questions, 1 fill-in-the-blanks cell and 4 written answers. 17 marks, about 45 minutes. Series: 1CP2-CT-5 · Merge sort, files and authentication, part 1 of 7.
Worksheet1CP2-P-6.2 How the internet connects networks
Part 2 · 1CP2-P-6 · Networks
The internet worksheet, following one request from a typed address to the server that answers it. Students will: - distinguish the web from the internet - explain why a packet needs a destination IP address - describe the role of a router between networks - explain why protocols are needed for devices to communicate - describe the journey of a request including DNS and routing Inside: 6 explanation cells, 5 multiple-choice questions, 2 fill-in-the-blanks cells and 4 written answers. 20 marks, about 45 minutes. Series: 1CP2-P-6 · Networks, part 2 of 8.
WorksheetSeries · 2 parts1CP2-CT-4 · Structures, validation and search
Includes 1CP2-CT-4.1 Formatting output with format
The formatting worksheet, separating the value a program holds from the way it is presented. Students will: - read a format descriptor for width, alignment and decimal places - supply values in placeholder order - explain why fixed width suits a column of prices - construct a readable result row - diagnose a formatting failure caused by the wrong type Inside: 6 explanation cells, 3 multiple-choice questions, 1 Python task, 1 fill-in-the-blanks cell and 2 written answers. 14 marks, about 45 minutes. Series: 1CP2-CT-4 · Structures, validation and search, part 1 of 7.
Worksheet1CP2-P-3.2 CPU components registers and buses
Part 2 · 1CP2-P-3 · Architecture and storage
The component worksheet, mapping the CPU and the three buses onto the work each one does. Students will: - distinguish the control unit from the ALU - describe what registers hold while an instruction is processed - distinguish the address bus from the data bus during a read - match a transfer to the bus that carries it - describe one complete memory read using all three buses Inside: 5 explanation cells, 4 multiple-choice questions, 2 fill-in-the-blanks cells and 4 written answers. 20 marks, about 45 minutes. Series: 1CP2-P-3 · Architecture and storage, part 2 of 7.
WorksheetSeries · 2 partsJ277 1.5 · Systems software
Includes J277 1.5.1 Operating systems
The five operating system functions in OCR J277 section 1.5, each described by a real task and its result. Students will: - explain the overall purpose of an operating system - explain memory management and how it supports multitasking - explain peripheral management and the role of device drivers - explain user management and file management - describe user interface features and pick the right function for a scenario Inside: 7 explanation cells, 2 multiple-choice questions, 3 fill-in-the-blanks cells and 5 written answers. 56 marks, about 75 minutes. Series: J277 1.5 · Systems software, part 1 of 3.
WorksheetSeries · 5 partsJ277 1.1 · Systems architecture
Includes J277 1.1.1 Introducing the CPU
The opening worksheet of OCR J277 section 1.1, introducing what the CPU is for and the components inside it. Students will: - state what a CPU does and why a computer needs one - identify the control unit, arithmetic logic unit, cache and registers - describe the job each component performs - recognise the fetch, decode and execute stages - apply component knowledge to familiar devices Inside: 6 explanation cells, 3 multiple-choice questions, 1 fill-in-the-blanks cell and 4 written answers. 29 marks, about 60 minutes. Series: J277 1.1 · Systems architecture, part 1 of 6.
WorksheetSeries · 5 partsJ277 2.2.3 · Strings, arrays and functions
Includes J277 2.2.3 String manipulation
String handling in Python, indexed from zero, with slices that stop before their end position. Students will: - index a string and extract a single character - take a slice and explain where it stops - join strings with concatenation - change case and find a string's length - build a formatted result from several strings Inside: 5 explanation cells, 3 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.2.3 · Strings, arrays and functions, part 1 of 5.
WorksheetJ277 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.
WorksheetSeries · 7 partsJ277 2.2.1-2.2.2 · Programming fundamentals
Includes J277 2.2.1 Variables, constants, input and output
The first programming worksheet: storing values, reading input and producing output. Students will: - assign values to variables and use them later - explain the difference between a variable and a constant - read input and produce readable output - use naming that communicates intent - write a short program 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. 15 marks, about 45 minutes. Series: J277 2.2.1-2.2.2 · Programming fundamentals, part 1 of 7.
WorksheetSeries · 2 partsJ277 2.3 · Producing robust programs
Includes J277 2.3.1 Defensive design and authentication
The first robust programs worksheet for OCR J277 2.3.1, on anticipating misuse and confirming who a user is. Students will: - explain what defensive design means - anticipate accidental and deliberate misuse of a program - describe how authentication confirms a user's identity - separate authentication from input validation - write a simple authentication check in Python Inside: 5 explanation cells, 2 runnable Python tasks, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 3 written answers. 17 marks, about 45 minutes. Series: J277 2.3 · Producing robust programs, part 1 of 7.
WorksheetSeries · 2 partsJ277 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.
WorksheetJ277 1 Paper 1 exam language and response precision
Part 1 · J277 Paper 1 · Exam transition
The first Paper 1 exam transition worksheet, making the structure of a strong written answer visible. Students will: - read the command word and the marks together before answering - extend a technical point into how it works and what it means here - tell a definition apart from an explanation - justify a choice rather than list unsupported preferences - plan a balanced eight-mark extended response Inside: 7 explanation cells, 1 multiple-choice question, 1 fill-in-the-blanks cell and 5 written answers. 25 marks, about 45 minutes. Series: J277 Paper 1 · Exam transition, part 1 of 5.
WorksheetSeries · 4 partsJ277 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.
WorksheetSeries · 6 partsJ277 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.
WorksheetSeries · 2 partsJ277 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.
WorksheetSeries · 5 partsJ277 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.
WorksheetSeries · 4 partsJ277 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.