Coding and decoding (MAT)
NMMS · Mental Ability · about 5 minutes
A word or number is coded by a rule: shifting letters, reversing, replacing letters with numbers.
Work out the rule from the given example, check it on every letter, then apply.
Letter codes
Line up the word and its code and write the position change for each letter: +1, +1, +1 is a Caesar shift; +1, +2, +3 is a growing shift.
Substitution codes
When each letter maps to one digit, build a table from all the examples, then read off the new word.
Worked examples
Example 1If MANGO = NBOHP, what is APPLE?
- Each letter +1.
Answer: BQQMF
Where marks are lost
- Assuming the same shift without checking every letter.
- Mixing up positions of repeated letters.
Exam tips
- Write A = 1 … Z = 26 at the top of your rough work.
- Reverse pairs add to 27 (A–Z, B–Y).
- Look for the same shift for every letter, or a growing shift.
Practice questions
If BAT is coded CBU, then CAT is…
If each letter is replaced by its position (A = 1, B = 2…), CAB is written as…
In a code, ROSE is written as 6821 and CHAIR as 73456. How is SEARCH written?