Skip to content

Programming: dictionaries and data files

Download complete unit(not available yet)

Why this, why now

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.

Prior knowledge requirements

  • Ardaydu waa inay yaqaanaan aasaaska maadada.
  • Ardaydu waa inay awoodaan inay raacaan tilmaamo fudud.
Unit 1 / 11

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.

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