The short answer: in coding-decoding, find the rule from the example given, test it on every letter, and only then apply it to the new word. Most rules are one of four kinds: a fixed shift (+1, +2, -1), the opposite letter, a word-to-word code, or a number made from letter positions. Write the alphabet with positions (A=1 ... Z=26) on your rough sheet before you start.

The four common kinds

Kinds of code and how to spot them
KindHow it looksWhat to do
Fixed shiftEach letter moves the same number of placesCompare first letters, then confirm on the second
Progressive shiftShifts of +1, +2, +3 in turnCheck each position separately
Opposite letterA with Z, B with Y; positions add to 27Subtract the position from 27
Word to wordSeveral coded sentences, one word eachFind the common word in two sentences
Letter to numberSum or product of positionsWrite each letter's position and add

Example 1: a fixed shift

Question. If BOOK is written as DQQM, how is LAMP written?

B to D is +2, O to Q is +2, and the next O to Q and K to M are also +2. The rule holds on all four letters. Apply it: L+2 = N, A+2 = C, M+2 = O, P+2 = R. Answer: NCOR.

Example 2: the opposite letter

Question. If a code writes each letter as its opposite in the alphabet, how is CAT written?

The opposite of a letter has position 27 minus its own. C is 3, so 27-3 = 24, which is X. A is 1, so 26 is Z. T is 20, so 27-20 = 7, which is G. Answer: XZG. Check: X is 24 and C is 3, and 24+3 = 27.

Example 3: word to word

Question. In a code, 'sun is bright' is written 'ka ni ro', 'bright day' is written 'ro pa', and 'sun rises' is written 'ka tu'. What is the code for 'day'?

'Bright' is the only word common to the first two sentences, and 'ro' is the only code common to them, so bright = ro. In the second sentence, 'bright day' is 'ro pa', so day = pa. Cross-check with the third: 'sun' is common to the first and third sentences and 'ka' is common to their codes, so sun = ka. Nothing contradicts. Answer: pa.

Example 4: letters to numbers

Question. If DOG is coded as 26, what is the code for CAT, using the sum of letter positions?

D = 4, O = 15, G = 7, and 4+15+7 = 26, so the rule is the sum. For CAT: C = 3, A = 1, T = 20, and 3+1+20 = 24. If the rule had been the product, DOG would not give 26, which is why you test the rule on the example first.

A method that works every time

  1. Write the word and its code one above the other.
  2. Mark each letter's position (A=1 to Z=26).
  3. Look at the difference for the first letter, then check the second, third and so on.
  4. If the differences are not equal, try the opposite letter, reversal, or a progressive shift.
  5. State the rule in one line, then apply it to the new word.
  6. Check one more letter of the example with your rule before you answer.

Common mistakes

  • Testing the rule on only the first letter. Two letters can shift alike by chance.
  • Going past Z. Z+1 is A, not a new letter, so wrap round.
  • Mixing up 'coded as' and 'decoded from'. Read which direction the question asks.
  • Reading the word-code sentences in the wrong order and matching the wrong common word.
  • Forgetting that a shift can be backward (-1) as well as forward.

Course · Beginner · Free

Logical Reasoning — Coding-Decoding: Foundation

Foundation course on Coding-Decoding (Logical Reasoning): the basics, explained from the start.

Practise coding-decoding questions with timed tests.

Take a practice test

Frequently asked questions

What is the easiest way to solve coding-decoding?

Write the alphabet with positions, compare each letter of the word with its code, and find one rule that works for all of them. Then apply the same rule to the new word.

How do I find the opposite of a letter quickly?

Subtract its position from 27. For example, the opposite of F (6) is 21, which is U. The first half of the alphabet pairs with the second half in this way.

What if no rule seems to fit?

Try reversing the word, a progressive shift (+1, +2, +3), or a separate rule for vowels and consonants. If the code is longer than the word, extra letters may be added at the end.

How should I solve word-to-word codes?

Find the word that appears in two sentences and the code that appears in the same two. That pair is one word and its code. Repeat for the other words.

How much practice is needed?

Ten to fifteen questions a day for two weeks is enough for most students to recognise the kinds at a glance. Keep the alphabet table written beside you while you practise.