Year 11 - Computing
Reading text files
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 open and read data from a text file in a program.
A file is a term used to describe data that is held in storage on a computer. File-handling is a term used to describe how programs work with the files that are stored in a computer.
a collection of data stored digitally, identified by a name. Add one real device or system example to prove understanding.
Mistake: A text file can be stored anywhere to be used in a program using just the file name. Correction: A text file must be stored in the same location as a program to be used to be accessed by file name alone. If it is stored elsewhere, the full path of the file will also need to be included.
Browse all guides in the Year 11 Computing guide library.