OCR (KS4)

KS3 & KS4 computing curriculum

Unit sequence

Filter and highlight

Year group

Highlight a thread
Computer Science
Year 11

Programming: dictionaries and data files

8 lessons

Threads

  • Algorithms and data structures
  • Programming

Description

This unit introduces pupils to the new data structures of records and dictionaries. They will develop a Caesar cipher encryption program using a dictionary as a cipher wheel. Pupils will explore how data can be read from and written to files and how this data can be used within a program.

This unit builds upon pupils' prior experience of Python programming and data structures from the previous programming units in KS4. They will be introduced to two new data structures, a record and a dictionary. Pupils will learn how to write to and read from data files within their programs. They will work with both 1D and 2D lists and will complete a series of file handling challenges.

  1. Records and dictionaries
  2. Dictionary challenge
  3. Reading text files
  4. Writing to text files
  5. Reading CSV files
  6. Writing to CSV files
  7. Programming project - dictionaries I
  8. Programming project - dictionaries II

46 units shown,

Need help with our new curriculum?

Visit our help centre for technical support as well as tips and ideas to help you make the most of Oak.

Go to help centre