Coding-Decoding
Coding-Decoding is a frequently tested area in CUET General Test. Work through these free NTA-style sample questions with full answers and explanations, then attempt all 40 in a timed practice test to build exam-day speed.
Snapshot
- Coding-Decoding disguises a word or message by a rule — a letter shift, position numbers, or a substitution — and asks you to encode or decode another. Crack the rule on the given pair and the rest follows.
- Everything rests on alphabet position (A = 1 … Z = 26) and the mirror rule (A↔Z, B↔Y; positions add to 27). Know these cold.
- This guide covers letter-shift, number, substitution and mixed coding, plus the "conditional" message type — with worked examples.
- Exam reality: +5 / −1. Find the rule on the example, then apply it mechanically.
Part 1 — The alphabet toolkit
Part 2 — Letter-shift coding
The commonest type: every letter moves a fixed number of steps forward or back.
To decode, reverse the shift. The shift can also be positional (1st letter +1, 2nd +2 …) or use the opposite letter (replace each by its mirror, A↔Z). Always test the simplest shift first.
Part 3 — Number, substitution & mixed coding
- Number coding: letters → their positions (CAB → 3-1-2), or the sum of positions (CAB → 6), or each digit transformed.
- Substitution coding: words stand for other words ("blue means sky, sky means red…"); just chase the substitution chain.
- Mixed / symbol coding: letters map to symbols or shuffled groups — line up the given code with the word letter by letter to deduce each mapping.
- Conditional message coding: a set of rules ("if a vowel is followed by a consonant, code both as #…") applied to a string — work strictly left to right.
Part 4 — Speed techniques
- Write positions under the letters before doing anything.
- Test +1 / −1 and the mirror (27 − position) first — they cover most letter codes.
- For substitution, follow the chain of replacements, ignoring real meaning.
- For symbol coding, align the two strings and read off one mapping per letter.
- Decode by reversing the encoding rule.
Part 5 — Worked examples
1. If CAT = DBU, then DOG = ? Each letter +1 → EPH.
2. If MAN is coded 13-1-14, then SUN = ? Positions → 19-21-14.
3. Mirror code: ROSE → ? Each letter to its mirror (R↔I, O↔L, S↔H, E↔V) → ILHV.
4. If in a code "PINK = QHOL"? P+1=Q, I−1=H, N+1=O, K+1=L → mixed ±1 alternating; apply the same to a new word.
5. Substitution: "sky = blue, blue = sea". The colour of clear water is called? Water is blue, and blue = sea → sea.
6. If TEACHER = 7 (number of letters), the code is the letter count → for STUDENT it's 7 too.
7. Sum coding: CAB = 3+1+2 = 6.
8. Reverse-then-shift: if WORD is coded by reversing (DROW) and +1 (ESPX), decode ESPX → reverse the steps → WORD.
Part 6 — Common traps
- Assuming forward shift — some codes shift backward or alternate.
- Mixing position-sum with position-list — read which the example uses.
- Real meaning in substitution — ignore it; follow the rule.
- Off-by-one positions — A = 1.
- Wrap-around — after Z, shifting forward returns to A (mod 26).
Part 7 — How to use this page
Lock the positions and the mirror rule, re-solve the eight examples writing positions under each letter, then attempt the practice set and the timed test.
One-line revision: write letter positions first, test +1/−1 and the 27-mirror before anything fancy, follow substitution chains literally, and decode by reversing the rule.
Practice questions
Now test yourself. 8 free sample questions with explanations. 32 more in the timed practice test.
Q1. A word is coded by shifting each letter +1 and reversing the word. By this rule, what is the code for NORTH?
▸ Show answer & explanation
Answer: A
Shift +1: N->O, O->P, R->S, T->U, H->I gives OPSUI. Reversing OPSUI gives IUSPO.
Q2. In a certain code, FLOWER is written as EKNVDQ. How is GARDEN written?
▸ Show answer & explanation
Answer: A
Each letter is shifted -1: F->E, L->K, O->N, W->V, E->D, R->Q. GARDEN: G->F, A->Z, R->Q, D->C, E->D, N->M = FZQCDM.
Q3. If each letter is replaced by its opposite letter in the alphabet (A<->Z), then how is CAT coded?
▸ Show answer & explanation
Answer: A
Opposite = 27 minus position. C(3)->X(24), A(1)->Z(26), T(20)->G(7), giving XZG.
Q4. In a code language, GOLD is written as 7-15-12-4 and SILVER as 19-9-12-22-5-18. Using letter-position coding, how is IRON written?
▸ Show answer & explanation
Answer: A
Each letter equals its alphabet position: I=9, R=18, O=15, N=14, giving 9-18-15-14.
Q5. In a code, each letter is replaced by the one diametrically opposite in the alphabet (A<->Z, B<->Y). How is HELP coded?
▸ Show answer & explanation
Answer: A
Opposite letter = 27 minus position. H(8)->S(19), E(5)->V(22), L(12)->O(15), P(16)->K(11), giving SVOK.
Q6. In a certain code, MANGO is coded as 13-1-14-7-15. How is APPLE coded using the same logic?
▸ Show answer & explanation
Answer: A
Each letter is replaced by its position in the alphabet: A=1, P=16, P=16, L=12, E=5, giving 1-16-16-12-5.
Q7. In a code, PEN is written as 16-5-14 and BOOK as 2-15-15-11. By the same logic, what is the code for DESK?
▸ Show answer & explanation
Answer: A
Each letter equals its alphabet position: D=4, E=5, S=19, K=11, giving 4-5-19-11.
Q8. If LIGHT is coded as JGEFR, how is SOUND coded in the same language?
▸ Show answer & explanation
Answer: A
Each letter shifts -2: L->J, I->G, G->E, H->F, T->R. SOUND: S->Q, O->M, U->S, N->L, D->B = QMSLB.
🔒 32 more questions
Attempt all 40 Coding-Decoding questions in real NTA exam format with timer and instant scoring.
Start practice test →