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.
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.
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 · 2 partsJ277 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.
WorksheetSeries · 2 partsJ277 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.
WorksheetJ277 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.
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.
WorksheetSeries · 4 partsJ277 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.
WorksheetJ277 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.
WorksheetJ277 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.
WorksheetSeries · 3 partsJ277 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.