Coding-decoding

Verbal Reasoning · free study notes · Updated

Coding‑Decoding – Study Notes

(Andaman & Nicobar Islands Police Sub‑Inspector (SI) – Reasoning Ability)


1. Simple Explanation

Coding‑decoding is a type of reasoning problem where you are given a code word (or phrase) on one side of a table and a decoded word (or phrase) on the other side.
The task is to figure out the rule that transforms the code word into the decoded word, and then apply that rule to new pairs.

Typical patterns:

  • Alphabetic shift (Caesar cipher, ROT‑n)
  • Letter replacement (A → Z, B → Y, etc.)
  • Reversal (word or letters)
  • Transposition (scrambling letters)
  • Combination of the above
  • Word‑level operations (adding or removing letters, changing word order)

2. Key Points to Remember

# Concept How to Spot It Example
1 Simple Shift All letters move by the same number in the alphabet. ABC → DEF (shift +3)
2 Reverse Word or letter order is reversed. HELLO → OLLEH
3 Mirror (Atbash) A ↔ Z, B ↔ Y, C ↔ X, … A → Z, B → Y
4 Transposition Letters are rearranged but none are changed. CAT → TAC
5 Skip or Alternate Only every second letter, or letters at odd/even positions, are used. ABCDE → ACE
6 Letter + Number Letter is replaced by its position in the alphabet, sometimes followed by a letter. A → 1‑B
7 Word‑Level Words are reordered, repeated, or swapped. “THIS IS” → “IS THIS”
8 Combination Two or more of the above are applied together. ABC → ZYX (mirror + reverse)
9 Contextual Clues Look for patterns that are context‑specific (e.g., police codes, common acronyms). 911 → 911 (no change)

Tip: Always start with the simplest rule (shift, reverse, mirror) before trying combinations.


3. Worked Example

Code Word Decoded Word
N M
O N
P O

Step 1 – Identify the Pattern

  • N → M (shift –1)
  • O → N (shift –1)
  • P → O (shift –1)

Rule: Shift each letter backward by 1 (i.e., -1 in the alphabet).

Step 2 – Apply to a New Pair

Code: T
Decoded: ?

  • T shifted back by 1 → S

Answer: S

Step 3 – Verify with Another Pair

Code: R
Decoded: ?

  • R → Q

Answer: Q

The rule holds for all given pairs.


4. Quick Revision Summary

Item What to Check Quick Question
Alphabetic shift Are all letters moved the same amount? ABC → DEF?
Reverse Is the order of letters or words flipped? DOG → GOD?
Mirror (Atbash) Are letters swapped with their opposite in the alphabet? A → Z?
Transposition Are letters rearranged but not changed? ABC → CAB?
Skip/Alternate Are some letters omitted or every other one taken? ABCDE → ACE?
Letter + Number Is there a numeric pattern or position coding? A → 1‑B?
Word‑level Are whole words reordered or repeated? “HELLO WORLD” → “WORLD HELLO”?
Combination Are two/three operations used together? ABC → ZYX?
Consistency Does the rule apply to all pairs? Always?

Practice Tip:

  • Write down each pair.
  • Test each simple rule on the first pair.
  • If it fails, try the next rule.
  • Once a rule works, apply it to all remaining pairs.

Final Words

Coding‑decoding questions test pattern recognition and logical deduction.

  • Start simple,
  • Look for consistency,
  • Check for combinations if a single rule doesn’t fit.

With regular practice, spotting the underlying rule becomes almost instantaneous—an essential skill for the SI exam. Good luck!

Your note

Page 1

Doubt hai is topic me?

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