Unit bundle · Written for OCR A Level (H446)

Programming Foundations and Computational Thinking – OCR A Level Computer Science lessons (H446)

Sixteen Year 12 lessons on programming foundations: variables, selection, iteration, subroutines, parameters, files and computational thinking.

Also in a bundle Year 12 A Level Computer Science – a full year of OCR H446 lessons 165 lessons for £199 · save 69% on buying separately

Students re-learn programming at A Level depth in Python and in OCR's exam pseudocode: the three constructs, data types, strings, files, arrays, subroutines and parameter passing, scope and the IDE's debugging tools. Alongside the code they learn the four kinds of computational thinking that Paper 2 asks them to apply to a scenario.

Unit 12.2 is taught in Year 12, Autumn 1, and answers one big question: How do programmers turn a problem into working code first time?

What happens in each lesson:

Lesson 1, Setting up: the IDE, Python and OCR pseudocode: What tools and habits help programmers write code others can read?

Lesson 2, Sequence, selection and iteration at A Level: Which construct does each part of a program need?

Lesson 3, Primitive data types and casting: Why does the data type of every value matter?

Lesson 4, Condition-controlled and count-controlled loops: How do you choose the right loop and make it stop?

Lesson 5, Thinking abstractly: What can a model leave out and still be useful?

Lesson 6, String manipulation: How can a program take text apart and build it again?

Lesson 7, Thinking ahead: inputs, outputs and preconditions: What must a programmer decide before writing any code?

Lesson 8, Arrays and 2D arrays: How can one identifier hold a whole grid of data?

Lesson 9, Thinking procedurally and decomposition: How do you break a big problem into parts you can solve?

Lesson 10, Functions and procedures: When should a subroutine return a value?

Lesson 11, Parameters: by value and by reference: Can a subroutine change the caller's variables?

Lesson 12, Thinking logically: decisions and flow: Where does a program make decisions, and what decides them?

Lesson 13, Local and global variables: Why should most variables live inside a subroutine?

Lesson 14, Reading and writing text files: How does a program keep its data after it closes?

Lesson 15, Debugging with breakpoints, stepping and watches: How do programmers find the cause of a logic error?

Lesson 16, Progress Check: 40 multiple-choice questions (homework or the start of the lesson) + a 40-mark written paper in the lesson (45 minutes)

Misconceptions it tackles include
“Saying an IDE makes programming 'easier' or 'quicker' is a full answer”; “A chain of separate IF statements works the same as IF … ELSEIF”; “A Boolean can be stored as the string "True"”. Each is planned into a hinge question before the main task or an exit question, so you find out who still holds it.
OCR H446 specification coverage
2.1.1–2.1.4, elements of computational thinking: thinking abstractly (abstraction, its need, abstraction against reality, abstract models), thinking ahead (inputs, outputs, preconditions, reusable components; caching is taught in 12.10), thinking procedurally (components, order of steps, sub-procedures) and thinking logically (decision points, logical conditions, effect on flow); 2.2.1 (a), (c)–(e), programming techniques: sequence, iteration and branching; global and local variables; modularity, functions and procedures, parameter passing by value and by reference; using an IDE to develop and debug a program; 1.4.1 (a), primitive data types: integer, real (floating point), character, string and Boolean.

It builds on GCSE Computer Science programming fundamentals (sequence, selection, iteration, data types, casting, string and file handling, arrays, subroutines) and computational thinking (abstraction, decomposition), and 12.1 Processors and Architecture, taught just before this unit. Students without GCSE Computer Science need the support version of each Build in lessons 2–4. It leads on to 12.3 Data Representation (data types and Boolean conditions return), 12.4 Searching, Sorting and Recursion (loops, arrays and functions; recursion uses the call stack), 12.6 Object-Oriented Programming, 12.8 Data Structures, 12.10 computational methods, caching and thinking concurrently, and the programming project from 12.12.

Adapting it for your school
Fernbridge CycleShare is a fictional bike-hire scheme. Swap it for a local scheme or one of the school's own systems; every Build keeps its structure. Any Python IDE with breakpoints, stepping and a variable view works (Thonny, IDLE, VS Code, PyCharm). An online editor without a debugger cannot run lesson 15 as planned: use its paper trace instead. Python 3 is assumed. If your students program in another language, keep the OCR pseudocode and swap the Python; the misconceptions about range() (lesson 4) and Python's parameter passing (lesson 11) then change. Students without GCSE Computer Science need more time on lessons 2–4: start each with the support version of the Build. Lessons 5, 7, 9 and 12 (computational thinking) are on paper and can be taught in a room without computers.

An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.

What's included

  • 16 lesson slide decks (PowerPoint)
  • 16 lesson plans (Word)
  • 16 worksheets, plus 15 support versions with scaffolds (Word)
  • 1 exam-style paper with mark scheme (Word)
  • Medium term plan with intent, key words, misconceptions and adaptive teaching notes (Word)
  • Progress Check lesson to assess the unit
  • Debugging with breakpoints stepping and watches - Quiz Quiz Trade Cards
  • Department licence: every teacher in your department can use and adapt it

In this bundle

Worth £64 bought separately at £4 a lesson. The bundle saves you 29%.

Setting up: the IDE, Python and OCR pseudocode – OCR A Level Computer Science lesson (H446)Single lesson £6 Sequence, selection and iteration at A Level – OCR A Level Computer Science lesson (H446)Single lesson £6 Primitive data types and casting – OCR A Level Computer Science lesson (H446)Single lesson £6 Condition-controlled and count-controlled loops – OCR A Level Computer Science lesson (H446)Single lesson £6 Thinking abstractly – OCR A Level Computer Science lesson (H446)Single lesson £6 String manipulation – OCR A Level Computer Science lesson (H446)Single lesson £6 Thinking ahead: inputs, outputs and preconditions – OCR A Level Computer Science lesson (H446)Single lesson £6 Arrays and 2D arrays – OCR A Level Computer Science lesson (H446)Single lesson £6 Thinking procedurally and decomposition – OCR A Level Computer Science lesson (H446)Single lesson £6 Functions and procedures – OCR A Level Computer Science lesson (H446)Single lesson £6 Parameters: by value and by reference – OCR A Level Computer Science lesson (H446)Single lesson £6 Thinking logically: decisions and flow – OCR A Level Computer Science lesson (H446)Single lesson £6 Local and global variables – OCR A Level Computer Science lesson (H446)Single lesson £6 Reading and writing text files – OCR A Level Computer Science lesson (H446)Single lesson £6 Debugging with breakpoints, stepping and watches – OCR A Level Computer Science lesson (H446)Single lesson £6 Programming Foundations and Computational Thinking Progress Check – OCR A Level Computer Science lesson (H446)Single lesson £6

More for A Level Computer Science

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.