Different rules for vowels and consonants: apply each rule separately.
Wrap around: Z + 1 = A, A − 1 = Z.
Position-based coding
Reversal: the word is written backwards, sometimes followed by a shift.
Opposite-letter coding: each letter becomes its pair summing to 27 (A ↔ Z, M ↔ N).
Halves swapped or reversed: split the word in two and check each half.
Pairs swapped: letters 1–2, 3–4… exchanged, possibly with a shift.
Number and symbol coding
Sum of positions: CAT = 3 + 1 + 20 = 24.
Variants: sum × number of letters, sum of reverse positions (A = 26), or products.
Direct substitution: each letter maps to a given digit or symbol; read the table carefully.
Conditional codes: check the conditions (first letter vowel, last consonant…) in order before coding.
Substitution and sentence coding
'Red is called blue, blue is called green…': answer with the new name of the thing asked (sky's colour blue → called green).
Sentence codes: compare two sentences; the common word and common code match.
Code words may appear in any order, so match by elimination, not by position.
Formulas and facts to remember
Positions: A1 E5 J10 O15 T20 Y25 (EJOTY)
Opposite letter = 27 − position
Reverse position = 27 − forward position
Shift beyond 26: subtract 26
Common traps
Check the shift for every letter; one changed step means a growing or alternating pattern.
In substitution codes, answer with the code name, not the real name.
In sentence coding, words are not coded in the same order as they appear.
For conditional codes, apply only the first condition that matches if the question says so.
How exams ask it
A guaranteed 1–3 questions in SSC, railway, bank and police exams.
Newer bank papers use conditional and sentence-based coding; SSC still favours letter-shift and number coding.
Memorising letter positions (EJOTY and opposite pairs) saves the most time here.
Solved questions
Q1Easy
If CAT is coded as DBU, how is DOG coded?
A. EPH
B. EPI
C. DPH
D. FPH
Show answer
Answer: A. EPH
C→D, A→B, T→U is +1 for every letter, so DOG → EPH. EPI shifts the last letter by 2, and FPH shifts the first by 2.
Q2Moderate
If ROSE is written as SPTF, how is LILY written?
A. MJMZ
B. MJNZ
C. KJMZ
D. MKMZ
Show answer
Answer: A. MJMZ
R→S, O→P, S→T, E→F is +1 per letter, so LILY → MJMZ. MJNZ shifts the second L by 2, and KJMZ moves the first L backward.
Q3Hard
If APPLE = 50 (sum of letter positions), what is BAT?
A. 22
B. 40
C. 23
D. 58
Show answer
Answer: C. 23
The code is the sum of letter positions (A1 + P16 + P16 + L12 + E5 = 50), so BAT = 2 + 1 + 20 = 23. 22 takes T as 19, 40 multiplies the values, and 58 uses reverse positions (Y25 + Z26 + G7).
Q4Very hard
In a code language, “sky is blue” is “pa qo ri”, “blue colour” is “ri tu” and “sky high” is “qo ma”. What is the code for “is”?
A. pa
B. qo
C. ri
D. tu
Show answer
Answer: A. pa
“blue” = ri (common to the first two) and “sky” = qo (common to the first and third), so “is” = pa.
Q5Easy
If A = 1, B = 2, C = 3 and so on, what is the value of D + E?
A. 7
B. 20
C. 9
D. 45
Show answer
Answer: C. 9
D = 4 and E = 5, so D + E = 9. 7 counts from A = 0 (3 + 4), 20 multiplies instead of adding, and 45 just writes the digits 4 and 5 side by side.