All free lessons / Verbal Reasoning / Secret codes: word codes and letter shifts

Verbal Reasoning · Foundations

Secret codes: word codes and letter shifts

A free preview from the LearnAhead Learning Library — the same lesson registered students learn from.

In this lesson: Crack codes where letters stand for numbers or symbols by matching letters across example words, and decode words hidden by a Caesar shift (every letter moved the same number of places in the alphabet).

Before you start

A spy message has just arrived for Pip from the tower roof: JQQF. It looks like nonsense — but it is only a word with every letter slid along. 'Slide them back,' says Pip, 'and the secret is yours.'

Watch it happen

Every letter owns a peg

A peg rack showing letters A to H on pegs numbered 1 to 8. Below, chips read D = 4, O = 15 and G = 7, so the word DOG is coded 4-15-7.

Code numbers are peg numbers on the letter rack: A hangs on peg 1, B on peg 2, and so on.

The idea

In a word code, each letter owns one symbol. Given CAT = 3-1-20 (its letters' alphabet positions), you can build new words letter by letter: A=1, C=3, T=20, so ACT = 1-3-20. Match letters across all the examples before building anything.

Letters hang on a peg rack: 26 pegs, one for each letter, and a code number is simply a peg number — D hangs on peg 4. A Caesar shift slides the whole rack along together: every letter moves the same number of pegs. That is why cracking one letter cracks the whole message — the rack never stretches, it only slides.

Worked example

Using alphabet positions (A=1, B=2, …), the code for DOG is 4-15-7. What is the code for GO?

  1. Read the values off the example: D=4, O=15, G=7.
  2. GO needs G then O: 7 then 15.

Answer: 7-15.

Shifts and secret messages

Pip's tip: in a shift code, every letter slides by the same amount. Crack one letter, and you have cracked them all.

A Caesar shift slides every letter the same distance: with a shift of +3, A→D, B→E, C→F, so CAT becomes FDW. To decode, slide back the same distance. Letters that run off the end wrap around: with +3, X→A, Y→B, Z→C.

Worked example

Using the Caesar code where every letter shifts forward by 1 (A→B, B→C), what is DOG in code?

  1. Pause and try this one yourself first — it is just for practice and is not scored.
  2. Shift each letter one step forward: D→E, O→P, G→H.

Answer: EPH.

Try one yourself

A code gives M=13, A=1, P=16. What word is 16-1-13?

Watch out

Quick check

Try these on your own first — then reveal each answer.

1. With a Caesar shift of +1, what does CAT become?

2. Decode with a shift of −2 (slide back 2): JQQF

Was this lesson helpful?

Practise this concept

Reading is the first step — the concept sticks when your child answers questions on it. Registered students practise graded questions for this lesson, with instant marking and worked explanations, and the lesson is marked complete in their progress.