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
Operators
3 resources match. Newest first. Opening a resource shows the whole thing, with answers and marking held back.
OCR H446 1.4.1 Bitwise shifts and masks
Part 8 · H446 1.4.1 · Data types
A status byte holding eight independent permission flags is the setting for the shift and mask content of H446 1.4.1. Shifts move every bit at a fixed width while masks select particular positions, and OCR credits the calculated result and the purpose of the operation separately, so students are asked for both each time. Students will: - apply logical left and right shifts at a fixed width, tracking discarded and inserted bits - state the multiplication or division effect of a shift and when that effect breaks down - choose between AND, OR and XOR to test, set, clear or toggle bits - design 8-bit masks for a stated purpose and explain why unselected bits are unchanged - complete a Python function that toggles the bits identified by a mask Inside: 8 explanation cells, 2 fill-in-the-blanks cells, 2 written answers, 1 Python task and 2 number answers. 32 marks, about 45 to 55 minutes. Series: H446 1.4.1 · Data types, part 8 of 11.
WorksheetSeries · 2 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.
WorksheetJ277 2.2.1 Arithmetic, comparison and Boolean operators
Part 3 · J277 2.2.1-2.2.2 · Programming fundamentals
The arithmetic, comparison and Boolean operators OCR requires, in Python notation. Students will: - use arithmetic operators, including integer division and remainder - compare values with the correct comparison operator - combine conditions with and, or and not - distinguish assignment from comparison - translate a written requirement into a single condition Inside: 6 explanation cells, 3 runnable Python tasks, 3 multiple-choice questions, 1 fill-in-the-blanks cell and 2 written answers. 17 marks, about 45 minutes. Series: J277 2.2.1-2.2.2 · Programming fundamentals, part 3 of 7.