These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
Lesson details
Key learning points
- In this lesson, we will have the opportunity to use a dictionary data structure in a new context. We will create a Caesar cipher encryption program using a dictionary as the cipher wheel. This mini project will allow us to develop our programming skills through an appropriate challenge.
Licence
This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.
Loading...
5 Questions
Q1.
A program has been started for a battleship style game. A battleship is represented by a B. Which indices are required to reveal the battleship?
[1][1]
[2][3]
[3][2]
Q2.
What data structure is being used to create the battleboard?
A dictionary
A list
A record
Q3.
Which arrow points towards the entity?
B
C
Q4.
Which arrow points towards the data?
A
B
Q5.
Which arrow points towards the entities?
A
C
3 Questions
Q1.
A coded message has been created. Solve the message below: +3 FLSKHU
CODED
CRYPTIC
IOVNKX
Q2.
A coded message has been created. Solve the message below: +2 LWNKWU
GENIUS
JULIAN
NYPMYW
Q3.
A coded message has been created. Solve the message below: +4 TCXLUR
CIPHER
SCRIPT
XGBPYV