haya.Learning made clear
Unit III · Verbal and non-verbal reasoning
8 min readConcept sheet2-mark items; 5- and 10-mark 'types of coding with examples'

Coding and decoding

A code changes letters, numbers or words by a fixed rule. Compare the word with its code letter by letter to find the shift, reversal or substitution.

Letter codingEach letter moves forward or back by a fixed number
Reverse codingThe word is written backwards, or letters swap with their opposites
Number codingLetters become positions (A = 1 … Z = 26) or their sum
Sentence codingA word common to two sentences has the code common to both

Types of coding

TypeExampleRule
Letter shift forwardCAT → DBUeach letter +1
Letter shift backDOG → CNFeach letter −1
Reverse orderSALT → TLASletters written backwards
Opposite lettersABC → ZYXA↔Z, B↔Y (places add to 27)
Letter to numberBAD → 2 1 4alphabet positions
Sum of positionsCAB → 63 + 1 + 2
Substitution'milk' is called 'oil'answer with the new name
Sentence (word) coding'eat good food' = 'ta ko mi'; 'food is good' = 'mi lo ko'common words share codes, so 'eat' = ta

Worked example 1: letter shift

Problem

In a certain code, MANGO is written as NBOHP. How is GUAVA written in that code?

Working
  1. Step 1: compare letter by letter: M → N, A → B, N → O, G → H, O → P. Each letter moves 1 place forward.
  2. Step 2: apply +1 to GUAVA: G → H, U → V, A → B, V → W, A → B.
  3. Check: moving each letter of HVBWB one place back gives GUAVA.
Answer

HVBWB.

Worked example 2: reverse, then shift

Problem

If PLATE is coded as FUBMQ, how is SPOON coded?

Working
  1. Step 1: compare letter by letter: P → F does not fit a simple shift, so try reversing first. PLATE reversed is ETALP.
  2. Step 2: compare ETALP with FUBMQ: E → F, T → U, A → B, L → M, P → Q. Each letter moves +1.
  3. Step 3: apply to SPOON: reversed it is NOOPS; +1 gives OPPQT.
  4. Check: OPPQT moved back one place is NOOPS, and reversed it is SPOON.
Answer

OPPQT.

Worked example 3: number coding

Problem

If CAT = 24 and DOG = 26, then COW = ?

Working
  1. Step 1: test letter positions: C + A + T = 3 + 1 + 20 = 24. D + O + G = 4 + 15 + 7 = 26. The rule is the sum of positions.
  2. Step 2: C + O + W = 3 + 15 + 23 = 41.
  3. Check: the rule gives both given codes exactly.
Answer

41.

Worked example 4: sentence coding

Problem

In a code language, 'rice is good' is written 'ka la pa', 'good for health' is 'pa ni ta' and 'rice for all' is 'ka ni so'. What is the code for 'health'?

Working
  1. Step 1: 'good' is in the first and second sentences; the code common to both is 'pa', so good = pa.
  2. Step 2: 'rice' is in the first and third sentences; the common code is 'ka', so rice = ka. 'For' is in the second and third; the common code is 'ni', so for = ni.
  3. Step 3: the second sentence 'good for health' = 'pa ni ta', so health = ta.
  4. Check: the leftover codes also fit: is = la and all = so. Every word has its own code.
Answer

ta.

How exams ask this

Bank papers now set sentence (word) coding sets of 4-5 questions; SSC and railway papers ask letter-shift, reverse and number coding. Placement tests mix two steps, such as reverse then shift, so test more than one rule.

Exam angle

2 marks: “If DOG is coded as EPH, how is CAT coded?” DBU. Each letter moves one place forward.

5 marks: “Explain any four types of coding-decoding with examples.” Letter shift (MANGO → NBOHP), reverse (SALT → TLAS), opposite letters (GOOD → TLLW), number coding (CAT = 24), with the rule for each.

10 marks: “What is coding-decoding? Explain its types with examples and the steps to decode a word.” Define; draw the decoding steps; explain shift, reverse, opposite, number, substitution and sentence coding with one example each.

Remember it

Line up word and code, write positions, find the shift. If nothing fits, reverse the word first. In sentence codes, the common word gets the common code.