Skip to content
Practice

Logical

Coding and decoding practice

A word or number is encoded by a rule — shifting letters, reversing, or substituting. Find the rule from the example, then apply it.

0 of 108 done

Work out the code

In a certain code, TREE is written as EERT. How is MOON written?

Pick an answer

The first 10 questions of each category are free.

Tips for Coding and decoding

  • Write the alphabet positions (A=1 … Z=26) for the example word and its code.
  • Compare letter by letter: is the shift the same for every letter?
  • Check reversed order and alternating shifts if a simple shift doesn't work.
Coding and Decoding Questions: Find the Letter Rule

Worked examples: Coding and decoding

Three solved questions of this type. Try each one first, then read the answer and how to get it.

Example 1

Work out the code

In a certain code, DOOR is written as ROOD. How is SHIP written?

Correct answer: C

How to solve it

The code simply writes the word backwards: DOOR read right to left is ROOD. Reversing SHIP gives PIHS.

Example 2

Work out the code

In a certain code, WALL is written as LLAW. How is DOG written?

Correct answer: C

How to solve it

The code simply writes the word backwards: WALL read right to left is LLAW. Reversing DOG gives GOD.

Example 3

Work out the code

In a certain code, WIND is written as DNIW. How is FISH written?

Correct answer: A

How to solve it

The code simply writes the word backwards: WIND read right to left is DNIW. Reversing FISH gives HSIF.