Year 11 - Computing
Dictionary challenge
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 an encryption program using a dictionary with key-value pairs.
A cipher is a type of secret code, where you swap the letters around so that no one can read your message. A Caesar cipher is one of the oldest and most famous ciphers.
the process of applying an encryption algorithm to plaintext to produce ciphertext that cannot be understood (without decryption). Add one real device or system example to prove understanding.
Mistake: A dictionary is a static data structure meaning you cannot add or remove items, only change the values that are available. Correction: A dictionary is a dynamic data structure, which means you can add or remove items in the data structure during program execution.
Browse all guides in the Year 11 Computing guide library.