IBPS Clerk · Reasoning Ability

Coding-Decoding

Letter-shift, letter-number, and basic symbol coding.

Share with your prep group:WhatsApp

Test yourself on Coding-Decoding

5 practice questions for IBPS Clerk with instant answers — no signup, ~3 minutes.

Take the 5-question quiz →

Coding-Decoding

Overview

The concept tests your ability to identify patterns in how letters, numbers, or symbols are transformed according to a hidden rule. Once you crack the code, applying it to new words becomes straightforward.

At the Clerk level, coding patterns are simpler than PO—usually involving single-rule letter shifts, direct letter-number substitutions, or basic symbol replacements. Speed matters here: you should solve each question in under 60 seconds once you recognize the pattern. Mastering this topic gives you quick, reliable marks with minimal calculation.

The key skill is pattern recognition. You must train your eye to spot relationships between original letters and their coded forms, whether that involves position shifts, reverse alphabets, or consistent symbol assignments.

Key Concepts

  • Letter Position Values: A=1, B=2, C=3... Z=26. Memorize this cold—most coding rules depend on position arithmetic.
  • Forward Shift: Each letter moves ahead in the alphabet by a fixed number. Example: A+2=C, B+2=D. If you cross Z, wrap around to A.
  • Backward Shift: Each letter moves back by a fixed number. Example: D-2=B, C-1=B. If you go before A, wrap to Z.
  • Opposite Letter Coding: Each letter maps to its "opposite" in the alphabet where A↔Z, B↔Y, C↔X, and so on. Formula: Opposite of letter at position n = letter at position (27−n).
  • Position-Based Variable Shift: Different positions in the word get different shifts. Example: 1st letter +1, 2nd letter +2, 3rd letter +3.
  • Letter-to-Number Coding: Letters are replaced by their position values, sometimes with arithmetic operations applied.
  • Symbol Coding: Letters or groups are replaced by symbols (@, #, $, etc.) following a consistent mapping table.
  • Reversal Plus Shift: The word is reversed first, then a shift rule is applied to each letter.

Formulas / Key Facts

ConceptQuick Reference
Letter positionsA=1, B=2... M=13, N=14... Z=26
Opposite letterPosition of opposite = 27 − original position
Forward shift wrapIf position > 26, subtract 26 (X+5: 24+5=29, 29−26=3=C)
Backward shift wrapIf position < 1, add 26 (B−3: 2−3=−1, −1+26=25=Y)
Middle letterM=13, N=14 — useful for quick opposite calculations
Opposite pairs to memorizeA↔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

Tip: For opposite letters, check if the two positions add up to 27. If yes, they are opposites.

Worked Examples

Example 1: Simple Forward Shift

Question: In a certain code, CAT is written as FDW. How is DOG written in that code?

Solution:

  • Identify the pattern by comparing each letter:
    • C(3) → F(6): shift of +3
    • A(1) → D(4): shift of +3
    • T(20) → W(23): shift of +3
  • Rule: Each letter shifts forward by 3
  • Apply to DOG:
    • D(4) + 3 = G(7)
    • O(15) + 3 = R(18)
    • G(7) + 3 = J(10)
  • Answer: GRJ

Example 2: Opposite Letter Coding

Question: In a code language, HELP is written as SVOK. How is BANK written?

Solution:

  • Check if opposite coding applies:
    • H(8) → S(19): 8+19=27 ✓
    • E(5) → V(22): 5+22=27 ✓
    • L(12) → O(15): 12+15=27 ✓
    • P(16) → K(11): 16+11=27 ✓
  • Rule: Each letter is replaced by its opposite
  • Apply to BANK:
    • B(2) → Y(25)
    • A(1) → Z(26)
    • N(14) → M(13)
    • K(11) → P(16)
  • Answer: YZMP

Example 3: Position-Based Variable Shift

Question: If ROAD is coded as SPCE, how is SHIP written?

Solution:

  • Analyze position-wise:
    • R(18) → S(19): +1 (1st letter)
    • O(15) → P(16): +1... wait, let's check pattern differently
    • O(15) → P(16): +1 (2nd letter)
    • A(1) → C(3): +2 (3rd letter)
    • D(4) → E(5): +1 (4th letter)
  • Pattern: +1, +1, +2, +1? Let's recheck: positions get +1, +1, +2, +1
  • Actually: 1st→+1, 2nd→+1, 3rd→+2, 4th→+1
  • Apply to SHIP:
    • S(19) + 1 = T(20)
    • H(8) + 1 = I(9)
    • I(9) + 2 = K(11)
    • P(16) + 1 = Q(17)
  • Answer: TIKQ

Common Mistakes

  • Forgetting to wrap around at Z: When X+5 lands at position 29, students write "29" or get confused. Fix: Subtract 26 when you exceed 26 (29−26=3=C).
  • Confusing forward and backward shifts: Seeing A→C and assuming −2 instead of +2. Fix: Always calculate (coded position − original position) to determine shift direction.
  • Assuming uniform shift when it varies by position: The first letter might shift +1, second +2, third +3. Fix: Check each letter separately before concluding the pattern.
  • Miscalculating opposite letters: Adding positions and getting 26 instead of 27. Fix: Memorize that opposite pairs always sum to 27, not 26.
  • Applying the code to the wrong word: In the hurry of exams, students sometimes encode the example word again instead of the asked word. Fix: Underline the target word in the question before solving.

Quick Reference

  • Opposite letter check: Do positions add to 27? If yes, they're opposites.
  • Wrap rule: Position > 26 → subtract 26; Position < 1 → add 26.
  • Variable shift: Always verify each letter position individually before assuming a uniform pattern.
  • Speed hack: For opposite coding, memorize 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.
  • Exam approach: Spend first 15 seconds identifying the rule, then apply it mechanically.
  • Time target: 45–60 seconds per question maximum.

Drafted with AI from Shishya's syllabus outline for this exam · Reviewed by a person: not yet · Report an error

You read the notes — now try one

In a certain code language, 'PAPER' is written as 'SDSH U'. How is 'TIGER' written in that code?

Tap an option to check your answer.

2 practice questions on Coding-Decoding for IBPS Clerk, with answers

Shishya's practice questions, written with AI. Each answer was checked by an automated second pass, not by a person.

  1. 1.In a code language, if 'PENCIL' is coded as '16-5-14-3-9-12', then what is the code for 'MARKER'?

    • (A)13-1-18-11-5-18
    • (B)14-2-19-12-6-19
    • (C)13-1-18-10-5-18
    • (D)12-1-17-11-5-17
    Show the answer and solution

    Answer: (A) 13-1-18-11-5-18

    Solution: Each letter is replaced by its position in the alphabet: M=13, A=1, R=18, K=11, E=5, R=18. Code is 13-1-18-11-5-18.

    Report an error

  2. 2.In a certain code language, 'MOBILE' is coded as '4@%3 7#' and 'IDEAL' is coded as '31#$7'. What is the code for 'BLAMED'?

    • (A)%7$4#1
    • (B)%7$4#2
    • (C)%7#4$1
    • (D)%7$3#1
    Show the answer and solution

    Answer: (A) %7$4#1

    Solution: Step 1: Decode the letter-symbol relationships from the given information. From MOBILE = 4@%3 7#: M = 4, O = @, B = %, I = 3, L = 7, E = # From IDEAL = 31#$7: I = 3, D = 1, E = #, A = $, L = 7 Step 2: Combine all the letter-symbol pairs: A = $, B = %, D = 1, E = #, I = 3, L = 7, M = 4, O = @ Step 3: Code BLAMED using these symbols: B = % L = 7 A = $ M = 4 E = # D = 1 Step 4: BLAMED is coded as %7$4#1. Answer: A

    Report an error

Take these as a quiz →

👥 Study this together

Invite your prep group — read the same notes, then discuss doubts in this topic's shared room.

Invite to study

Need more? Ask Shishya

Shishya is your personal tutor for this topic. Pick a starter or open a free chat.

Open Shishya tutor →

Notes generated on 11 Sept 2026