Year 11 - Computing
Records and dictionaries
Programming: dictionaries and data files
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 11 - Computing
Programming: dictionaries and data files
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.
You will learn to create a record using a dictionary in Python.
Data structures are used to store data in an organised and accessible way. A record is an example of a data structure.
a collection of attributes for a single entity. Add one real device or system example to prove understanding.
Mistake: There is no way to store multiple records in one data structure in Python. Correction: If you want to use multiple records in a database, then you can add multiple dictionaries to a list.
Browse all guides in the Year 11 Computing guide library.