Skip to content

Thinking Skills practice: codes and ciphers

Code questions show a few words written in a secret system and ask students to crack it. They are fun, and they get quicker with practice. These free practice questions cover letter shifts, number codes and secret messages, with worked solutions that show how the code works.

Codes and ciphers: sample question

In a code, every letter is moved forward 5 places in the alphabet. A becomes F. Letters wrap round: after Z comes A, and before A comes Z.

What is the code for SKIN?

Choose one answer

What these questions look like in the test

  • Letters shifted along the alphabet by a fixed number, such as each letter moving forward by 2.
  • Words turned into numbers using the letters’ places in the alphabet.
  • A code shown for one or two words, which must be applied to a new word.
  • Codes that follow a rule such as reversing the word or swapping pairs of letters.
  • Decoding a short message and answering a question about it.

Common mistakes

  • Shifting letters in the wrong direction.
  • Losing count when a shift goes past Z and wraps back to A.
  • Spotting the rule from one letter only, without checking it on the rest of the word.
  • Mixing up encoding and decoding.

How to help at home or in class

  • Write the alphabet out with the numbers 1 to 26 underneath and keep it beside you.
  • Compare the first and last letters of the coded and uncoded word to find the shift.
  • Check the rule on every letter before applying it to the new word.
  • Make up codes for each other and write notes in them.

Questions about codes and ciphers

Do I need to memorise the alphabet positions?

It helps to know a few landmarks, such as E is 5 and M is 13, but students can write the alphabet out with numbers on their paper for working out.

What happens when a shift goes past Z?

It wraps around to the start, so shifting Y forward by 3 gives B. Writing the alphabet in a circle makes this easy to see.

How do I work out the rule?

Compare the original and coded versions of the same word letter by letter. If every letter moves by the same amount, it is a shift. If not, look for a pattern in the numbers.