Coding-decoding

Verbal Reasoning · free study notes

Coding–Decoding – Study Notes

Target Exam: West Bengal Police Sub‑Inspector (SI) – Reasoning Ability
Exam Type: Competitive (IIT‑JEE style)
Format: Multiple‑choice / Matching / Fill‑in


1. What is Coding‑Decoding?

Term Definition
Coding Assigning a code (number, letter, symbol, etc.) to a given item according to a hidden rule.
Decoding Reversing the process: given a code, find the original item.

The challenge is to discover the hidden rule (or apply it when given).
In the SI exam, you will often see:

Pattern Example
Alphabetic code (A=1, B=2, …) A 1, B 2, C 3, …
Reverse alphabetic code (Z=1, Y=2, …) A 26, B 25, …
Positional code (e.g., 1st, 3rd, 5th letter) R 1, U 3, G 5
Arithmetic series (codes increasing by a fixed difference) X 10, Y 12, Z 14
Word‑to‑Number substitution (e.g., length, sum of letters) APPLE 5, ORANGE 6
Date or time based code 1-1-2000 → 1
Mixed patterns (alphabet + number) A 2, B 4, C 6

2. General Strategy

  1. Look for patterns

    • Are the codes increasing/decreasing?
    • Do they belong to a known series (natural numbers, primes, Fibonacci)?
    • Do the codes correspond to alphabetical positions?
  2. Check for multiple possible mappings

    • Sometimes one rule fits but fails for a test item.
    • Cross‑check all items simultaneously.
  3. Use elimination

    • If a code is 1, only a few numbers/letters can map to it.
    • Use this to rule out possibilities.
  4. Verify with all items

    • A rule must satisfy every given pair. If it fails for any, discard it.
  5. Check for “tricky” rules

    • Reverse order, skipping letters, alternating patterns, positional placement, or mixed operations (addition, subtraction, multiplication with positions).
  6. Remember the “last resort”

    • If you cannot find a rule, look for patterns in differences or ratios between consecutive codes.

3. Common Coding–Decoding Patterns

Pattern Rule Example Key Tricky Point
Alphabetic positions A=1, B=2 … D 4, G 7, J 10 Works only if letters are in order.
Reverse alphabetic Z=1, Y=2 … A 26, B 25 Remember to subtract from 27.
Alternating series Even letters → A=2, C=4 … A 2, B 2, C 4 May involve doubling or halving.
Positional code 1st letter → 1, 3rd letter → 3, etc. R 1, U 3, G 5 Verify if all items follow the same position.
Sum of positions Sum of individual letters’ positions. CAT=3+1+20=24 Watch for overflow of 26.
Difference of positions Position difference between two letters. `AB = 1-2
Multiplication by position Position × letter index. A 1×1=1, B 2×2=4 Check for linearity.
Prime‑based Assign prime numbers to letters. A 2, B 3, C 5 Remember that primes grow quickly.
Fibonacci‑based Map letters to Fibonacci numbers. A 1, B 1, C 2, D 3, E 5 Non‑unique for A & B.
Day‑month‑year Date → day of the week or month number. 01‑01‑2000 → 1 (Monday) Requires calendar knowledge.
Mixed Combination of two rules (e.g., A 1, B 4, C 9). A 1, B 4, C 9 (squares) Look for two independent sub‑rules.

4. Derivation & Verification

4.1 Deriving the Rule

  1. Create a matrix of pairs
    [ \begin{array}{c|c} \text{Item} & \text{Code} \ \hline A & 1 \ B & 4 \ C & 9 \ \vdots & \vdots \end{array} ]

  2. Test hypotheses

    • Hypothesis 1: Code = position²
      (1^2=1, 2^2=4, 3^2=9) → Works for first three.
    • Hypothesis 2: Code = position × 3
      (1×3=3) fails → Reject.
  3. Check all items
    If any item contradicts, discard the hypothesis.

4.2 Verifying a Mixed Pattern

Suppose you suspect a pattern A 1, B 4, C 9, D 16.

  • Hypothesis: Code

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.