Chapter 3 of 22 · 4 min · 11 questions

Chapter video4:18
Take quiz →

Coding and decoding: find the rule, test it, then use it

A coding question gives you a word and its code, and asks for the code of another word. Nothing is hidden. The rule is sitting in the example. Your job is to read it out, check it, and apply it.

You need one thing by heart: the positions of the letters. A = 1, B = 2, and so on up to Z = 26. A few anchors help: E = 5, J = 10, O = 15, T = 20, Y = 25.

The routine

  1. Line up. Write the word, and write its code exactly below it, letter under letter.
  2. Compare, position by position. Is each letter moved by some gap? Are the same letters there in a new order? Do the two letters in a pair add up to 27?
  3. Test, then use. Check the rule on every letter, and on the second example if there is one. Only then code the new word.

Letter shifting

Each letter is moved a number of places along the alphabet.

TIGER is coded as VKIGT. Line them up: T to V, I to K, G to I, E to G, R to T. Every letter has moved 2 places forward. The rule is +2.

The gap need not be fixed. GAME is coded as HCPI: G to H is +1, A to C is +2, M to P is +3, E to I is +4. The gap grows by one each time. It can also alternate, one back and one forward. This is why you take the gap for every pair, not only the first.

The alphabet goes round. After Z comes A again, so Y + 3 is B, and A − 1 is Z.

Reversal and rearrangement

Here no letter changes. Only the order does. WORD written backwards is DROW. WORD with each pair swapped is OWDR.

The sign is easy to see: the code has the same letters as the word. When you see that, stop looking for gaps and look at the order. Number the letters 1, 2, 3, 4 and see where each one has gone.

Sometimes a letter is added as well. If POT becomes ATOP and TRAP becomes APART, the word is reversed and an A is put in front.

Opposite letters

A is swapped with Z, B with Y, C with X. The rule is: opposite letter = 27 minus the position.

CAT becomes XZG. C is 3, and 27 − 3 = 24, which is X. A is 1, and 27 − 1 = 26, which is Z. T is 20, and 27 − 20 = 7, which is G.

The test is quick: in every pair, the two positions add up to 27.

Letters to numbers

The code is a number. Three rules are common. Take CAT, where C = 3, A = 1, T = 20.

  • Positions written side by side: 3120
  • Sum of the positions: 3 + 1 + 20 = 24
  • Product of the positions: 3 × 1 × 20 = 60

The first example may fit more than one rule. If CAB is coded as 6, the sum is 6 and the product is also 6. The second example decides. If BED is 11, the sum is 2 + 5 + 4 = 11 and the product is 40, so the rule is the sum.

Another kind gives each letter its own digit, with no link to the position. If LAMP is 1234, then L = 1, A = 2, M = 3 and P = 4, so PALM is 4213. Just read each letter's digit off the examples.

Sentence codes

"pit na som" means "bring me water". "na jo tod" means "water is life". What is the code for water?

Find what is common. The two codes share "na". The two meanings share "water". So na = water.

The words of the code need not be in the same order as the words of the sentence. Match what repeats, not the place. To find a word that does not repeat, first remove the ones that do.

"Is called" questions

If sky is called sea, sea is called water, and water is called air, what do we drink when we are thirsty?

Do it in two steps. First answer the real question: we drink water. Then translate: water is called air. The answer is air.

The codes at a glance

Kind of codeHow to spot itWhat to do
Letter shiftnew letters, same lengthtake the gap for every pair
Reversal, swapsame letters, new ordernumber the letters, follow each one
Opposite letterseach pair adds up to 2727 minus the position
Letters to numbersthe code is one numbertry positions, sum, product; test on the second example
Letter to digitone digit under each letterread each letter's digit from the examples
Sentence codetwo or three coded sentencesfind the common word
"Is called"a chain of renamed wordsreal answer first, then translate

Where students slip

  • Trusting the first letter. A gap of +1 on the first letter may be +1, +2, +3 on the rest. Check them all.
  • Stopping early. The options often differ only in the last one or two letters. Code the whole word.
  • Forgetting the wrap. Y + 3 is B, not a letter beyond Z.
  • Counting the wrong way. Decide once whether the code moves forward or back, and write a plus or minus sign above each pair.
  • Skipping the second example. It is there to choose between two rules that both fit the first.
  • Translating twice, or not at all. In an "is called" question, the real answer is usually among the options. So is the word it is called by. Only the second is correct.

How to practise

Learn the positions until E, J, O, T and Y come without thought, and practise the opposite pairs: A and Z, B and Y, M and N. Then make your own codes. Take any five-letter word, code it with +3, with a growing gap, with opposite letters, and decode it again the next day. For past questions, write the word above its code every time, even when the rule looks obvious. The habit of lining up is what makes these questions quick.

Save your reading and sit the 9 PM all-India test.

Sign up