FREE NOTESSSC CGL Coding-Decoding Notes: Tricks, Types & Practice Questions
General Intelligence & Reasoning • SSC CGL Tier 1
Coding-decoding is the friendliest chapter in the reasoning section: a word is 'coded' by a hidden rule, and your job is to find the rule and apply it. There are no formulas to memorise — just the alphabet table and careful checking.
SSC lists Coding & decoding explicitly in its reasoning syllabus, and Tier-1 papers regularly include a few questions on it. Because the questions become mechanical once the rule is found, this is one of the highest-accuracy topics in the paper.
These notes cover the five coding types SSC actually asks — letter shifting, reversal, number coding, substitution and matrix coding — with the alphabet table, solved examples and practice questions.
Key Concepts & Formulas
The alphabet table (non-negotiable)
Every letter-coding question is solved with A=1 to Z=26 and the opposite pairs. Memorise the table cold: you will convert letters to numbers in almost every question, and mirror codes are unsolvable without the opposites.
Formulas:
- A=1 through M=13, N=14 through Z=26
- Reverse positions: Z=1, Y=2, X=3, ... A=26
- Opposite pairs: A-Z, B-Y, C-X, D-W, E-V, F-U, G-T, H-S, I-R, J-Q, K-P, L-O, M-N
Type 1 — Letter shifting
Each letter moves forward or backward by a fixed number of positions: CAT → DBU means every letter shifts +1. Check all letters of the given word before concluding — sometimes the shift changes per letter (+1, +2, +3) or alternates (+2, −2).
Formulas:
- Fixed shift: every letter +n or −n
- Running shift: +1, +2, +3 across the letters of the word
- Alternating shift: +2, −2, +2, −2, ...
- Always verify the rule on every letter of the example word
Type 2 — Reversal and mirror
The code is the word written backwards (DELHI → IHLED), sometimes combined with a shift or with opposite letters (A–Z). If the coded word contains the same letters in reverse order, reversal is your answer.
Formulas:
- Pure reversal: DELHI → IHLED
- Reversal + shift: reverse the word, then shift each letter
- Mirror code: replace each letter with its opposite (A→Z, B→Y, ...)
Type 3 — Number coding
Letters become numbers, usually A=1 to Z=26. The code is the sum (BAT = 2+1+20 = 23), the product, or the concatenated positions. Also watch for reverse positions (Z=1 to A=26) when the normal table gives no clean pattern.
Formulas:
- Sum of positions: BAT = 2+1+20 = 23
- Reverse positions: Z=1, Y=2, ... (AT = 26+20 = 46)
- Product of positions: rare, but check it when sums do not fit
Type 4 and 5 — Substitution and matrix coding
In substitution, whole words are replaced in sentence-style statements — decode by matching the word common to two sentences. In matrix coding, letters are located by row-and-column numbers in a grid (for example 41 = row 4, column 1). For matrices, locate each letter carefully: one row/column slip ruins the whole word.
Formulas:
- Substitution: match the word common to two sentences
- Matrix: read row first, then column (41 = row 4, column 1)
- Double-check every letter's coordinates before choosing an option
Solved Examples
Example 1. In a code language, CAT is written as DBU. How is DOG written?- Compare letter by letter: C→D (+1), A→B (+1), T→U (+1).
- The rule is: every letter shifts forward by 1 position.
- Apply to DOG: D→E, O→P, G→H. Answer: EPH.
Answer: EPH
Example 2. If SHINE is coded as ENIHS, how is SPARK coded?- ENIHS uses exactly the letters of SHINE in reverse order — this is a pure reversal code.
- Reverse SPARK letter by letter: S-P-A-R-K becomes K-R-A-P-S.
- Answer: KRAPS.
Answer: KRAPS
Example 3. If A=1, B=2, and so on up to Z=26, what is the code for BAT?- Convert each letter: B=2, A=1, T=20.
- Add the positions: 2 + 1 + 20 = 23.
- Answer: 23.
Answer: 23
Example 4. In a code language, each vowel is replaced by the next letter and each consonant by the previous letter. If SUN is coded as RVM, how is MOON coded?- Verify the rule on SUN: S (consonant)→R, U (vowel)→V, N (consonant)→M. It matches.
- Apply to MOON: M (consonant)→L, O (vowel)→P, O→P, N (consonant)→M.
- Answer: LPPM.
Answer: LPPM
Practice Questions
Q1. If CAT is coded as DBU (each letter +1), how is DOG coded?- DPH
- EPH
- FPH
- EQG
Show Answer & Explanation
Answer: EPH
Every letter shifts +1: D→E, O→P, G→H, giving EPH.
Q2. If BAT = 23 (sum of letter positions: 2+1+20), what is the code for CAT?- 22
- 23
- 24
- 25
Show Answer & Explanation
Answer: 24
C=3, A=1, T=20. Sum: 3+1+20 = 24.
Q3. If DELHI is coded as IHLED, how is MUMBAI coded?- IABMUM
- IMABUM
- IABMMU
- MUMBAI
Show Answer & Explanation
Answer: IABMUM
IHLED is DELHI written backwards, so this is a reversal code. Reversing MUMBAI gives IABMUM.
Q4. If D=4, O=15, G=7 and DOG is coded as 26 (sum of positions), what is the code for PEN?- 34
- 35
- 36
- 33
Show Answer & Explanation
Answer: 35
P=16, E=5, N=14. Sum: 16+5+14 = 35.
Q5. In a code language, each vowel is replaced by the next letter and each consonant by the previous letter. How is LAPTOP coded?- KBOSPO
- KBOSOP
- LAOSPO
- KAOSPO
Show Answer & Explanation
Answer: KBOSPO
Vowels shift to the next letter, consonants to the previous: L→K, A→B, P→O, T→S, O→P, P→O, giving KBOSPO.
Common Traps (galtiyan jo marks katwati hain)
- Concluding the rule from a single letter — always verify the rule on every letter of the given word before applying it.
- Alphabet wrap-around errors: Y+3 = B and B−3 = Y. Count carefully at the two ends of the alphabet.
- Assuming A=1 always — some codes use Z=1 (reverse positions). If the normal table gives no clean pattern, try the reverse table.
- In reversal codes, forgetting that the reversed word may also carry a shift — check whether plain reversal explains all the letters.
- Matrix coding: reading column-first when the question says row-first. The order stated in the question is the rule.
- Substitution traps: matching the wrong common word between two sentences. List all the words of each sentence before matching.
FAQs
Is coding-decoding asked in Tier-2 as well?
Yes. The Tier-2 Reasoning section lists coding-decoding in its syllabus too, at a similar level. The same five types and the same alphabet-table method apply.
What is the fastest way to find the coding rule?
Convert the first letters of the word and its code to positions and subtract. The differences — all +3, or +1/+2/+3, or all reversed — reveal shifting rules instantly. If the code uses the same letters backwards, it is a reversal.
Do I need to memorise the opposite pairs?
Yes — A-Z, B-Y, C-X, D-W, E-V, F-U, G-T, H-S, I-R, J-Q, K-P, L-O, M-N. Mirror codes are a favourite SSC pattern and cannot be solved without these.
How much time should one coding question take?
Aim for under a minute once the rule is found. If you are still hunting for the rule after about 90 seconds, mark the question and move on — the pattern is usually simple and you will spot it on a second look.
Disclaimer: For the latest official exam pattern, always verify on ssc.gov.in. NaukriRoz is not a government website.