Single lesson · Written for OCR A Level (H446)

Project design: key variables, data structures and validation – OCR A Level Computer Science lesson (H446)

Students learn to identify their key variables, data structures and validation rules and justify each choice.

Also in a bundle Big O and Project Design – OCR A Level Computer Science lessons (H446) 16 lessons for £45 · save 29% on buying separately

Lesson 9 of 16 in unit 13.2 Big O and Project Design, taught in Year 13, Autumn 1. It answers one big question: What data will you hold, and how will you reject bad input?

By the end, students can identify their key variables, data structures and validation rules and justify each choice.

What happens
General skill: specifying data. The teacher shows a data dictionary (name, data type, structure, purpose, validation) and how to justify a data structure by what the program does with it, for example a queue for a waiting list. Students choose validation (presence, range, format, length, type) for six made-up fields. Worked example: Highcrag Climbing Centre's data dictionary, including a session record, a booking list held per session, a waiting-list queue and the validation rules for member ID, session time and capacity (1 to 12 climbers), each justified so the program is robust. Supervised time: students write the data dictionary and validation rules for their own solution and log the decisions in their journal.

Also sold in the Big O and Project Design unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

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

  • Slide deck (PowerPoint)
  • Lesson plan (Word)
  • Worksheet (Word)
  • Support worksheet with scaffolds (Word)
  • Single-teacher licence: use and adapt it with your own classes

More for A Level Computer Science

See all

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