Coding-Decoding for SBI Clerk — Letter, Number, and Word Coding Mastery

intermediate 18 min read

Concept

Coding-Decoding is one of those topics where the question looks unfamiliar the first time but becomes completely mechanical once you recognise the pattern type. The exam is not testing creativity — it is testing whether you can identify the rule quickly and apply it without error.

Here is the core idea: a "code" is nothing but a systematic transformation applied uniformly to every element of a word, number, or sentence. Your job is to reverse-engineer that transformation from the examples given, then apply it to the target word.

Think of it like a lock-and-key cipher. Every question gives you at least two "known locks and keys" (coded examples). From those, you extract the pattern, then use it to open the unknown lock (the question word).

There are four major types you will encounter in SBI Clerk:

Type 1 — Letter Shifting: Each letter in a word moves a fixed number of positions forward or backward in the alphabet. GAME → HBNF means every letter shifted +1. This is by far the most common type.

Type 2 — Positional or Mixed Shifting: The shift value is not constant — it alternates, or follows a pattern like +1, −1, +1, −1, or depends on the letter's position in the word. These appear in higher-difficulty questions.

Type 3 — Number Coding: Letters are replaced by numbers, or numbers carry encoded values. WATER = 12345 type questions. The logic is almost always one-to-one substitution.

Type 4 — Sentence/Word Coding: Individual words in sentences are replaced by code words. Three statements are given, and you have to isolate what each word maps to by finding common elements.

The analogy that works best: imagine each type as a different kind of key cut. Type 1 is a master key (uniform shift). Type 2 is a multi-cut key (different shifts per position). Types 3 and 4 are codebooks (look-up tables). In the exam hall, your first job is to identify which key type you are holding.


Deep Dive

Type 1: Uniform Letter Shifting

This is the Caesar cipher variant. Every letter in the original word is shifted by the same number of positions in the English alphabet (A=1, B=2, ... Z=26, and it wraps around cyclically).

How to find the shift: Pick the first letter of the given word and its coded counterpart. Count the gap. Verify with the second letter. If it matches, you have your shift.

Example: BOARD → ERDUG

For the target word, add 3 to each letter's position. If the result exceeds 26, subtract 26 (wrap-around).

Speed note: Do not count on your fingers. Memorise the alphabet positions for the 10 most-shifted letters. More practically, for a +3 shift: just go three letters ahead in the alphabet. T → W, A → D, B → E, L → O, E → H. That is exactly how TABLE → WDEOH falls out instantly.

Type 2: Positional/Mixed Shifting

Here the shift is not uniform. A question like FRIEND → GSJFOE looks like +1 across the board, but check position 3: I(9) → H(8) = −1. The pattern is +1, +1, −1, +1, +1, +1 (alternating at position 3).

How to handle it: Write down each letter-pair shift explicitly for the first two example words before touching the question word. This takes 30 seconds but saves you from misapplying the rule.

Type 3: Number Coding

WATER = 12345, POWER = 67845. Build a mapping table from the given codes:

Then substitute directly for the target word. The mapping is always one-to-one — a letter always gets the same number.

Watch out: The question always gives you enough information to derive the code for every letter in the target word. If it seems like you are missing a letter's code, re-read the question — you have missed a mapping somewhere.

Type 4: Sentence/Word Coding (Most Systematic Type)

This is solved entirely by set intersection. Here is the method step by step:

Step 1 — Pair two sentences that share exactly one word. The code word that appears in both sentences corresponds to that shared word.

Step 2 — Repeat for other pairs until you have identified all words you need.

Step 3 — Assign by elimination for any remaining word.

Example from the PYQs:

S1 ∩ S2 share: pencil, pen → codes na, ta are shared. But we cannot assign individually yet. S2 ∩ S3 share: book → code ma is shared. So book = ma. S1 ∩ S3 share: eraser → code sa is shared. So eraser = sa. Back in S1: pen pencil eraser = na sa ta, eraser=sa, so pen and pencil use na and ta. Back in S2: book pencil pen = ta ma na, book=ma, so pencil and pen use ta and na. Now in S3: eraser book paper = sa ma ka, eraser=sa, book=ma, so paper = ka.

This method always works. Do not guess — execute the intersection systematically.

The Alphabet Position Reference (Critical)

Memorise the position of every 5th letter and interpolate:

This alone cuts your letter-shift calculation time by half.


Memory Tricks & Shortcuts

patternEJOTY Anchor Method

Memorise just five letters and their positions: E=5, J=10, O=15, T=20, Y=25. For any letter, find the nearest anchor and count from there. For +3 shifts: instead of counting from A each time, shift the anchor itself (E→H, J→M, O→R, T→W, Y→B). Then interpolate for any letter near the anchor. This reduces a 26-letter lookup to a 5-anchor lookup. Standard counting method: 8-10 seconds per letter. EJOTY method: 2-3 seconds per letter. For a 5-letter word, that is a 25-35 second saving per question.

eliminationFirst-Letter Shift Verification Rule

In any letter-shift question, calculate the shift from only the first two letters of the example word. If both give the same shift value, apply it to the target word immediately — do not check all letters. If the first two letters give different shifts, you are looking at a mixed-shift question and must map all positions before answering. This decision point takes 5 seconds and prevents you from misclassifying the question type. Standard approach (checking all letters): 30-40 seconds. This rule: 5 seconds to classify, then proceed accordingly.

patternSentence Coding: Unique-Word-First Rule

In sentence coding, always start with the sentence pair that shares exactly one common word (not two or three). That pair gives you a 1-to-1 mapping immediately without any ambiguity. If no pair shares exactly one word, look for the word that appears in all three statements — its code appears in all three coded statements. Applying this selection rule before writing anything saves 20-30 seconds of confused trial-and-error, reducing the average solve time from 90 seconds to 55 seconds.

substitutionReverse Shift Check

For decoding (going from code to original), simply apply the opposite shift. If the encoding rule is +3, the decoding rule is −3. For wrap-around: if subtracting takes you below A(1), add 26. Practise this on the answer options — if an option decodes back to the question word under your identified rule, that is your answer without needing to independently encode the question word. This substitution approach takes 15 seconds versus 25 seconds for full encoding, when the answer options are close to each other.

eliminationElimination by First Letter

In letter-shift questions, the first letter of the coded word is deterministic. Calculate only the first letter of your answer and eliminate all options that do not start with that letter. In most SBI Clerk questions, this alone narrows 4 options to 1 or 2. If it narrows to 1, mark and move. If 2 remain, calculate only the letter that differs between them. Full encoding: 5 letters × 3 seconds = 15 seconds. First-letter elimination: 3 seconds, often sufficient to pick the answer.


Fast-Solving Framework

When you see a Coding-Decoding question, run this decision tree:

Step 1 — Classify the type in under 5 seconds.

Step 2 — For letter shift (Type 1/2): Find the shift from letter 1 and letter 2. Same shift? Apply uniformly. Different shifts? Map all positions first.

Step 3 — For number coding (Type 3): Build a letter-to-number table from all given examples. Substitute directly. Never assume — always verify each letter is covered.

Step 4 — For sentence coding (Type 4): Find the sentence pair with exactly one common word. Assign its code. Repeat. Use elimination for the final word.

Step 5 — Apply first-letter elimination on answer options before committing to full calculation.

Target time: 45-60 seconds per question. If you are past 75 seconds, mark your best guess and move on — Coding-Decoding questions rarely yield to brute force faster than a fresh attempt later.


Solved PYQs

Why this question: The most common question format in SBI Clerk — uniform +3 shift. This is the baseline you must get right every time.

Previous Year Questionपिछले वर्ष का प्रश्न
In a certain code, 'BOARD' is coded as 'ERDUG' and 'CHAIR' is coded as 'FKDLU'. What will 'TABLE' be coded as?
एक निश्चित कोड में 'BOARD' को 'ERDUG' लिखा जाता है और 'CHAIR' को 'FKDLU' लिखा जाता है। तो 'TABLE' को क्या लिखा जाएगा?
  1. WDEOH
  2. WDEOI
  3. WDEPH
  4. WDFOH
  1. WDEOH
  2. WDEOI
  3. WDEPH
  4. WDFOH
Solutionसमाधान
Each letter is shifted by +3 positions in the alphabet. B→E(+3), O→R(+3), A→D(+3), R→U(+3), D→G(+3). Similarly C→F(+3), H→K(+3), A→D(+3), I→L(+3), R→U(+3). For TABLE: T→W(+3), A→D(+3), B→E(+3), L→O(+3), E→H(+3).
प्रत्येक अक्षर को वर्णमाला में +3 स्थान आगे बढ़ाया जाता है। TABLE के लिए: T→W(+3), A→D(+3), B→E(+3), L→O(+3), E→H(+3)।

Solving path: Find shift: B→E = +3. Verify: O→R = +3. Confirmed. Apply to TABLE: T(20)+3=W(23), A(2)+3=D(5), B(2)+3=E(5), L(12)+3=O(15), E(5)+3=H(8). Answer: WDEOH. Time: 25 seconds using EJOTY anchors.


Why this question: The +1 shift variant — simpler, but the most error-prone because aspirants often second-guess themselves and look for a more complex pattern when the answer is straightforward.

Previous Year Questionपिछले वर्ष का प्रश्न
In a code language, 'GAME' is written as 'HBNF' and 'PLAY' is written as 'QMBZ'. How will 'CODE' be written in the same language?
एक कोड भाषा में, 'GAME' को 'HBNF' और 'PLAY' को 'QMBZ' लिखा जाता है। उसी भाषा में 'CODE' को कैसे लिखा जाएगा?
  1. DPEF
  2. DQEF
  3. DPDF
  4. DQDF
  1. DPEF
  2. DQEF
  3. DPDF
  4. DQDF
Solutionसमाधान
Each letter is shifted one position forward in the alphabet. G→H(+1), A→B(+1), M→N(+1), E→F(+1). Similarly P→Q(+1), L→M(+1), A→B(+1), Y→Z(+1). For CODE: C→D(+1), O→P(+1), D→E(+1), E→F(+1).
प्रत्येक अक्षर को वर्णमाला में एक स्थान आगे बढ़ाया जाता है। G→H(+1), A→B(+1), M→N(+1), E→F(+1)। इसी प्रकार CODE के लिए: C→D(+1), O→P(+1), D→E(+1), E→F(+1)।

Solving path: G→H = +1. A→B = +1. Pattern confirmed as uniform +1. CODE: C→D, O→P, D→E, E→F. Answer: DPEF. First-letter check: C+1=D. Only option starting with D is DPEF. Mark immediately. Time: 15 seconds.


Why this question: Tests whether you can recognise the +1 shift even with a 6-letter word, and whether you handle all letters cleanly.

Previous Year Questionपिछले वर्ष का प्रश्न
In a certain code language, 'LAPTOP' is coded as 'MZQUPQ' and 'MOBILE' is coded as 'NPCJMF'. How will 'TABLET' be coded in the same language?
एक निश्चित कोड भाषा में, 'LAPTOP' को 'MZQUPQ' लिखा जाता है और 'MOBILE' को 'NPCJMF' लिखा जाता है। उसी भाषा में 'TABLET' को कैसे लिखा जाएगा?
  1. UBCMFU
  2. UBCMFU
  3. TBCMFU
  4. UBDMFU
  1. UBCMFU
  2. UBCMFU
  3. TBCMFU
  4. UBDMFU
Solutionसमाधान
Each letter is replaced by the next letter in the alphabet. L→M, A→B, P→Q, T→U, O→P, P→Q. Similarly for TABLET: T→U, A→B, B→C, L→M, E→F, T→U.
प्रत्येक अक्षर को वर्णमाला के अगले अक्षर से बदला जाता है। L→M, A→B, P→Q, T→U, O→P, P→Q। इसी प्रकार TABLET के लिए: T→U, A→B, B→C, L→M, E→F, T→U।

Solving path: L→M = +1. A→B = +1. Pattern: uniform +1. TABLET: T→U, A→B, B→C, L→M, E→F, T→U. Answer: UBCMFU. Time: 20 seconds.


Why this question: The +3 shift applied to a 6-letter word — tests whether you can maintain accuracy across more letters without slowing down.

Previous Year Questionपिछले वर्ष का प्रश्न
In a certain code, 'PROFIT' is written as 'SURILW' and 'MANGO' is written as 'PDQJR'. How will 'SCHOOL' be written?
एक निश्चित कोड में, 'PROFIT' को 'SURILW' लिखा जाता है और 'MANGO' को 'PDQJR' लिखा जाता है। तो 'SCHOOL' को कैसे लिखा जाएगा?
  1. VFKRRO
  2. VFKRRO
  3. VFKRSO
  4. VGJRRO
  1. VFKRRO
  2. VFKRRO
  3. VFKRSO
  4. VGJRRO
Solutionसमाधान
Each letter is shifted by +3 positions in the alphabet. P→S(+3), R→U(+3), O→R(+3), F→I(+3), I→L(+3), T→W(+3). Similarly for SCHOOL: S→V, C→F, H→K, O→R, O→R, L→O.
प्रत्येक अक्षर को वर्णमाला में +3 स्थान आगे बढ़ाया जाता है। P→S(+3), R→U(+3), O→R(+3), F→I(+3), I→L(+3), T→W(+3)। इसी प्रकार SCHOOL के लिए: S→V, C→F, H→K, O→R, O→R, L→O।

Solving path: P→S = +3. R→U = +3. SCHOOL: S(19)+3=V(22), C(3)+3=F(6), H(8)+3=K(11), O(15)+3=R(18), O(15)+3=R(18), L(12)+3=O(15). Answer: VFKRRO. Use EJOTY: O is anchor 15, O+3=R is anchor 15+3=18=R. Clean. Time: 30 seconds.


Why this question: Sentence coding — the type that trips up the most aspirants. Systematic intersection method is non-negotiable here.

Previous Year Questionपिछले वर्ष का प्रश्न
In a certain code language, 'pen pencil eraser' is written as 'na sa ta', 'book pencil pen' is written as 'ta ma na', and 'eraser book paper' is written as 'sa ma ka'. What does 'paper' represent?
एक निश्चित कोड भाषा में, 'pen pencil eraser' को 'na sa ta' लिखा जाता है, 'book pencil pen' को 'ta ma na' लिखा जाता है, और 'eraser book paper' को 'sa ma ka' लिखा जाता है। 'paper' किसे दर्शाता है?
  1. ka
  2. sa
  3. ma
  4. na
  1. ka
  2. sa
  3. ma
  4. na
Solutionसमाधान
From the first two statements: pen and pencil are common, and 'na' and 'ta' are common in codes. From statements 2 and 3: book is common and 'ma' is common. From statements 1 and 3: eraser is common and 'sa' is common. So eraser=sa, book=ma. In third statement 'eraser book paper'='sa ma ka', we have sa=eraser, ma=book, so ka=paper.
पहले दो वाक्यों से: pen और pencil समान हैं, और कोड में 'na' और 'ta' समान हैं। वाक्य 2 और 3 से: book समान है और 'ma' समान है। वाक्य 1 और 3 से: eraser समान है और 'sa' समान है। अतः eraser=sa, book=ma। तीसरे वाक्य में ka=paper होगा।

Solving path: S2 ∩ S3: book is the only common word; ma is the only common code → book=ma. S1 ∩ S3: eraser only common word; sa only common code → eraser=sa. S3: eraser book paper = sa ma ka. eraser=sa, book=ma, so paper=ka. Answer: ka. Time: 55 seconds.


Common Mistakes


Related Topics

Practice on SarkariRise

Sign up + get 3 free mocks →