By the end of this chapter you'll be able to…

  • 1Identify letter-shift coding rules and apply them correctly in either direction
  • 2Recognise reverse-alphabet (mirror) coding and word-reversal coding
  • 3Decode number-substitution coding based on alphabet position
  • 4Verify a candidate coding rule against the entire given example before applying it to a new word
💡
Why this chapter matters in RRB NTPC
Every coding-decoding question supplies a worked example specifically so the rule can be reverse-engineered — this chapter builds the discipline of verifying a candidate rule against every letter of that example before applying it, which turns a seemingly unfamiliar code into a guaranteed-correct mechanical application.

Coding-Decoding — RRB NTPC Reasoning

This topic carries roughly 11% of General Intelligence & Reasoning's 30 questions. Every coding-decoding question gives you a worked example to reverse-engineer the rule from — the skill is testing candidate rules systematically against that example, not guessing.


1. What RRB NTPC actually asks

Expect letter-shift coding (each letter moves forward or backward by a fixed amount), reverse-alphabet coding (A pairs with Z, B pairs with Y, etc.), word-reversal coding, and number-substitution coding (each letter maps to a number based on its alphabet position).


2. The four common coding types

Letter-shift coding: every letter in the word shifts by the same fixed number of positions (e.g., +1: A→B, C→D).

Reverse-alphabet coding: each letter is replaced by its mirror position from the other end of the alphabet (A pairs with Z, B pairs with Y — the pair always sums to 27 in position numbers).

Word-reversal coding: the coded word is simply the original word's letters in reverse order.

Number-substitution coding: each letter is replaced by its alphabet position number (A=1, B=2, ..., Z=26), sometimes with an additional shift applied.


3. The systematic approach

  1. Compare the given word and its code letter by letter (or check if it's simply reversed).
  2. Identify the fixed rule: same shift for the whole word, or a mirror/reverse pattern.
  3. Verify the rule against every letter in the given example — a rule that only explains some letters isn't the actual rule.
  4. Apply the verified rule to the new word asked in the question.

Worked examples

Question 1 of 2

Q1. If CAT is coded as DBU, how is DOG coded in the same language?

Pick an option to check your answer.

Show explanation

Solution. Compare CAT to DBU letter by letter: C→D (+1), A→B (+1), T→U (+1). Every letter shifts forward by exactly 1 position.

Applying the same +1 shift to DOG: D→E, O→P, G→H, giving EPH. Answer: (a).

Question 2 of 2

Q2. In a certain code, GARDEN is written as ICTFGP. How is FLOWER coded in the same language?

Pick an option to check your answer.

Show explanation

Solution. Compare GARDEN to ICTFGP: G→I (+2), A→C (+2), R→T (+2), D→F (+2), E→G (+2), N→P (+2). Every letter shifts forward by exactly 2 positions.

Applying +2 to FLOWER: F→H, L→N, O→Q, W→Y, E→G, R→T, giving HNQYGT. (a) uses a +1 shift instead, and (c) uses a +3 shift — both fail to match the verified +2 rule from the given example. Answer: (b).


5. Common traps

  • Assuming the rule from only the first letter or two, without verifying it holds for the entire given word. A rule must explain every letter consistently.
  • Confusing a forward shift with a backward shift. Always check the direction explicitly: does the code letter come AFTER or BEFORE the original letter in the alphabet?
  • Missing a reversal combined with a shift. Some questions combine word-reversal with a letter shift — check both possibilities if a simple shift doesn't fully explain the given example.
  • Losing count near the ends of the alphabet (wrapping from Z back to A, or vice versa) — write out positions explicitly rather than counting mentally.

6. Guessing strategy

Since the coding rule is always derivable from the given example, there's rarely a good reason to guess blindly here — invest the 15-20 seconds needed to verify the rule against every letter of the example, then apply it mechanically; this yields a certain answer rather than a probabilistic one.


Summary

  • Coding-Decoding is roughly 11% of General Intelligence & Reasoning's 30 CBT 1 questions.
  • Four common types: letter-shift, reverse-alphabet (mirror), word-reversal, and number-substitution coding.
  • Always verify a candidate rule against every letter in the given example before applying it to the new word.
  • Check the shift direction explicitly — forward and backward shifts are easy to confuse.
  • Watch for combined rules (reversal + shift) when a simple shift doesn't fully explain the example.
  • The coding rule is always fully derivable — invest the time to verify it rather than guessing.

Key formulas & results

Everything to memorise for the exam hall, in one card. Screenshot this for revision.

Letter-shift coding
each letter moves forward (or backward) by the same fixed number of alphabet positions
Verify the shift amount and direction against every letter in the given example.
Reverse-alphabet coding
each letter's code position + its own position = 27 (A<->Z, B<->Y, C<->X, ...)
Word-reversal coding
the coded word is the original word's letters in exactly reverse order
Number-substitution coding
each letter is replaced by its alphabet position number (A=1, ..., Z=26), sometimes with an additional shift
⚠️

Traps RRB NTPC sets — and how to dodge them

These are the exact option-traps and misreads that cost marks under negative marking.

WATCH OUT
Assuming a rule from only the first letter or two of the given example
A rule must explain EVERY letter in the given example consistently — verify all of them before applying it to the new word.
WATCH OUT
Confusing forward and backward shift direction
Explicitly check: does the code letter come AFTER or BEFORE the original letter in the alphabet? Write out the position numbers if unsure.
WATCH OUT
Missing a combined rule (reversal plus shift)
If a simple shift doesn't explain every letter of the given example, check whether the word is also reversed before or after the shift.
WATCH OUT
Losing count near the ends of the alphabet
Write out explicit position numbers (1-26) rather than counting mentally, especially for wraparound cases near A/Z.

Exam-pattern practice

PYQ-style questions with full solutions. Work through them as a readiness check — mark yourself honestly and get your gap report at the end.

Readiness check

Are you exam-ready for Coding-Decoding?

8 problems from this chapter. Try each one, reveal the worked solution, mark yourself honestly — get your gap report at the end.

8 questions~6 min

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • Coding-Decoding is roughly 11% of General Intelligence & Reasoning's 30 CBT 1 questions.
  • Four common types: letter-shift, reverse-alphabet (mirror), word-reversal, and number-substitution coding.
  • Always verify a candidate rule against EVERY letter of the given example before applying it to a new word.
  • Explicitly check shift direction — forward and backward shifts are easy to confuse under time pressure.
  • If a simple shift doesn't explain the full example, check for a combined rule (reversal plus shift, or alternating shifts).

RRB NTPC question blueprint

How this topic is asked, tier by tier — so you can prep to the pattern.

Typical weightage: Roughly 11% of General Intelligence & Reasoning's 30 questions in CBT 1 (each worth +1/−1/3)

Question styleMarks eachTypical countWhat it tests
Letter-shift coding1~2Forward/backward fixed-shift coding rules
Reverse-alphabet coding1~1Mirror-position coding (A<->Z pattern)
Word-reversal coding1~1Simple letter-order reversal
Number-substitution coding1~1Alphabet-position-to-number mapping
Combined coding1~1Rules combining shift, reversal, or alternating patterns
Prep strategy
  • First pass: practice identifying each of the four common coding types quickly from a given example.
  • Second pass: drill the verify-against-every-letter discipline until it's automatic, not skipped under time pressure.
  • Final pass: practice combined and alternating-pattern coding questions, the chapter's most demanding variant.

Exam-hall strategy

Battle-tested tips from mentors and toppers for this topic under the sectional clock.

  1. Never apply a rule based on just the first letter or two — verify it against the ENTIRE given example first.
  2. Explicitly write out the shift direction and amount rather than tracking it mentally.
  3. If a simple rule doesn't fit, systematically check the other common types (mirror, reversal, combined) before giving up and guessing.

Beyond the exam

Where this skill shows up in the job you're competing for — and in life.

Cryptography fundamentals

Letter-shift (Caesar cipher) and substitution coding are the historical foundation of classical cryptography, directly related to this chapter's core techniques.

Pattern verification in data validation

The discipline of verifying a rule against every data point before generalising it is directly transferable to data validation and quality-assurance tasks.

Where else this topic is tested

Prepare once, score in every exam that asks it.

SSC CGL / CHSL ReasoningVery high overlap — coding-decoding is a core, heavily-tested topic across nearly all government exams' reasoning sections
Bank PO / Clerk ReasoningVery high overlap in all four common coding types

Questions aspirants ask

Pulled from the Q&A community and mentor sessions.

About 15-20 seconds to check the rule against every letter of the given example — this investment guarantees a certain, verified answer rather than a guess, and is almost always worth the time given the rule is always fully derivable from what's provided.

Check reverse-alphabet (mirror) coding next, then word-reversal, then combined or alternating patterns — work through the common types systematically rather than guessing randomly.
Header Logo