Daily current affairs on DailyCA
DailyCA NotesStudy notes for competitive exams My revisionsRevisions

Letter and Number Coding

Basic 5 min read Updated

Saved in this browser only. See all revisions due

Key points

  • Check for reversal before comparing letter by letter
  • Constant differences mean letter shifting, with wrap-around past Z
  • Pairs adding to 27 mean opposite-letter coding
  • The same letters in a new order mean a position swap
  • In number coding test position values, their sum and their product
  • In conditional coding classify each letter as vowel or consonant first
  • Code only the first two letters to eliminate most options
On this page
  1. What coding-decoding is
  2. How to attack any coding question
  3. The main coding types
  4. Worked examples

What coding-decoding is

Coding means converting a word, number or sentence into another form by a fixed rule. Decoding means working out that rule and recovering the original.

How to attack any coding question

  1. Write the original word and the code one below the other, letter by letter.
  2. Check whether the number of letters matches and whether the order is reversed.
  3. Find the position difference for each pair, using the EJOTY anchors.
  4. If the difference is not constant, test opposite letters or a change of position.
  5. Apply the same rule to the new word, and confirm it still fits the given example.

Key point

Check for reversal before comparing letter by letter. If the code is the word written backwards and you compare it forwards, no rule will ever appear.

The main coding types

TypeClueMethod
Letter shiftingThe same difference between each pairCoded = original plus or minus k, with wrap-around past Z
Opposite letterDifferences vary but each pair adds to 27Coded position = 27 minus the original position
ReversalThe code looks like the word read backwardsReverse first, then check for any shift
Position swapThe same letters in a different orderCompare positions, not letter values
Number codingThe code is made of numbersTest position values, their sum, or their product
Conditional codingVowels and consonants change differentlyClassify each letter before coding it

Worked examples

Letter shifting

OFFICE is coded as PGGJDF. Each letter moves one place forward, since O goes to P and F to G. Applying the same rule, RECORD becomes SFDPSE.

Opposite letters

FILE is coded as UROV. Here F at 6 pairs with U at 21, I at 9 with R at 18, L at 12 with O at 15, and E at 5 with V at 22. Every pair adds to 27, so NOTE becomes MLGV.

Reversal with a shift

MONEY is coded as ZFOPN. Reversing MONEY gives YENOM, and adding one to each letter gives Z, F, O, P, N. So BOARD reverses to DRAOB and becomes ESBPC.

Position swap

PLAYER is coded as LPYARE. Each pair of adjacent letters is swapped, so PL becomes LP, AY becomes YA and ER becomes RE. Therefore SENIOR becomes ESINRO.

Number coding

If CAT is 24 and DOG is 26, the code is the sum of the position values, since 3 + 1 + 20 = 24 and 4 + 15 + 7 = 26. So COW is 3 + 15 + 23 = 41.

Conditional coding

If every vowel moves one place forward and every consonant one place back, BRAIN becomes AQBJM: B to A, R to Q, A to B, I to J and N to M.

Exam tip

There is no need to code the whole word. Code the first two letters and most options fall away; then check only the letter where the survivors differ.

Practice questions

Answer all, then check. Explanations appear after checking.

1In a certain code, PEN is written as 16 5 14. How is INK written in that code?
2If OFFICE is coded as PGGJDF, how will RECORD be coded?
3If FILE is coded as UROV, how is NOTE coded in the same language?
4If MONEY is written as ZFOPN, how is BOARD written in that code?
5In a code, each vowel is replaced by the next letter and each consonant by the previous letter. How is BRAIN coded?

Finished this topic? Tick it off.

Saved in this browser only. See all revisions due