Sarkari RiseLogin

Coding-Decoding Questions for RRB NTPC

Free, AI-curated practice for the Coding-Decoding section of RRB NTPC. We have 30+ verified questions in this bank. Below: 5 sample questions. Sign up free to unlock unlimited practice + AI explanations + per-topic analytics.

▶ Start free — RRB NTPC mockAll RRB NTPC resourcesAlready a user? Sign in →
📍 Coding-Decoding is also tested in:
SSC CGL (82)SSC MTS (77)UP POLICE CONSTABLE (70)SSC CHSL (64)
Why this topic matters · 7 min read
Coding-Decoding is one of the most consistently asked topics in RRB NTPC Reasoning, appearing 3-5 questions per paper. Questions test your ability to find a hidden pattern between a coded word and its original, then apply that pattern to a new word. Common types include letter shifting, reverse coding, number-based codes, and symbol substitution. Once you spot the pattern, these become free marks — aim to solve each in under 60 seconds.

Type 1: Letter Shifting (Forward and Backward)

In this type, each letter of the original word is shifted forward or backward by a fixed number of positions in the alphabet. For example, if A becomes D, B becomes E — each letter has moved +3. Always check the shift for the first 2-3 letters to confirm the pattern is consistent before applying it to the unknown word. Shifting can also be alternate: odd-position letters shift +2, even-position letters shift -1.

  • Always write A=1, B=2 ... Z=26 on your rough sheet at the start.
  • Check shift for at least 2 letters before concluding.
  • If shift crosses Z, wrap around: Z+1 = A (circular shift).
  • Backward shift: if A becomes X, shift is -3 (or +23 circular).
  • Alternate shifts are common: +2 for odd positions, -2 for even positions.
  • Reverse order coding: CAT coded as TAC — just reverse the letters.
Key formulas
Forward Shift
Coded letter = Original letter position + n (mod 26)
When: Use when each letter shifts by same fixed number forward
Backward Shift
Coded letter = Original letter position - n (mod 26)
When: Use when each letter shifts backward by same fixed number
Worked examples

If APPLE is coded as DSSOH (each letter +3), then MANGO = PDQJR. M+3=P, A+3=D, N+3=Q, G+3=J, O+3=R.

If CAT is coded as ZXQ (each letter -3), then DOG = ALT. D-3=A, O-3=L, G-3=D. Wait: G=7, 7-3=4=D. So DOG = ALD.

Type 2: Number-Based Coding

Each letter is replaced by its position number in the alphabet, sometimes modified by adding, subtracting, or multiplying. Another common version assigns numbers based on the word's letter count or rank. In some questions, words are coded as numbers that represent the sum or product of letter positions.

  • A=1, B=2, C=3 ... Z=26. Memorize this instantly.
  • Some codes use reverse positions: A=26, B=25, Z=1.
  • Sum-based: BALL = 2+1+12+12 = 27 coded as 27.
  • Product or difference patterns also appear occasionally.
  • Always cross-check the pattern with both the given examples before answering.
Key formulas
Reverse Alphabet Value
Reverse value of letter = 27 - (normal position of letter)
When: Use when A=26, B=25 type pattern is given
Worked examples

If CAT = 3+1+20 = 24 and DOG = 4+15+7 = 26, find code for MAN. M=13, A=1, N=14. MAN = 28.

If A=26, B=25 (reverse), then CAT = 24+26+7 = 57. Always test with given pair first.

Type 3: Symbol and Mixed Substitution

Here, letters or words are replaced by symbols, numbers, or other letters based on a defined table or pattern given in the question itself. These questions always give you the code key — you just need to apply it carefully. The trick is to read slowly and not mix up two similar-looking symbols.

  • The code key is always given in the question — use it, do not guess.
  • Write the mapping out on rough paper before decoding.
  • Watch out for similar symbols: * and + or @ and #.
  • Some questions code entire words (not letters): TABLE means CHAIR type.
  • In word-substitution, eliminate answer choices using known substitutions.

Type 4: Sentence or Word-Level Coding

A full sentence is coded and you must find the code for a single word. The exam gives you 2-3 coded sentences with common words to help you decode. Find the word that appears in two sentences — its code appears in both coded sentences, letting you isolate it. This is a logic puzzle more than a math one.

  • Look for the common word between two sentences — its code is the common code.
  • Use elimination: if one sentence has 3 words and one is known, decode the rest.
  • Word order may or may not be preserved — check both possibilities.
  • Never assume word order is same as coded order unless confirmed.
  • These questions take slightly more time — attempt after easier ones.

Type 5: Reverse and Positional Tricks

Some codes are formed by reversing the word, interchanging adjacent letters, or using only alternate letters. DELHI coded as IHLED is simply reversed. CLOUD coded as LDOCU means pairs of letters are swapped: CL swap to LC, OU swap to UO, D stays. Recognizing these tricks quickly is the key skill.

  • Reverse coding: write the word backwards.
  • Pair swapping: swap letters in pairs (1-2, 3-4, 5-6...).
  • Odd-even position swap: 1st and 2nd letter swap, 3rd and 4th swap.
  • First and last letter interchange is another common pattern.
  • Always check with at least one full example before locking the pattern.
⚠ Common mistakes to avoid
  • Confusing +3 shift with -3 shift: always verify direction by testing the first letter of the given coded example.
  • Forgetting circular wrap-around: X+3 is not X3 but A (since X=24, 24+3=27, 27 mod 26 = 1 = A).
  • In sentence coding, assuming word order is preserved when it may not be — always cross-check with two sentences.
  • Mixing up normal alphabet values (A=1) with reverse alphabet values (A=26) — the question type looks similar but the logic is opposite.
  • Rushing through symbol-substitution and misreading a symbol — slow down for 10 seconds, it saves 30 seconds of re-doing.
🧠 Memory aids
  • SHIFT CHECK: Always test the pattern on 2 letters before applying. Think S-C: Sample before Coding.
  • Alphabet row trick: Write ABCDEFGHIJKLMNOPQRSTUVWXYZ and number them 1-26 on your rough sheet in the first 30 seconds of the exam. Saves time every question.
  • Reverse value shortcut: Reverse value of any letter = 27 minus its normal value. M=13, reverse = 27-13 = 14 = N. Easy!
  • For sentence coding, think of it like a Venn diagram: the word appearing in two sentences is your decoder key — the common element unlocks everything.
🎯 RRB NTPC exam tips
  • RRB NTPC typically asks 3-5 coding-decoding questions per paper. In CBT-1, they are usually easy to medium. In CBT-2, expect at least one sentence-level coding question which is slightly tricky.
  • Letter shifting (+n or -n) is the single most asked pattern. If you master only one type, master this. It appears in nearly every paper.
  • Difficulty is low-medium — these should be your confidence questions. Target 100% accuracy here, not speed shortcuts that cause errors.
  • Recent papers (2019-2021 cycles) showed a rise in mixed-type coding where two patterns are combined (e.g., shift +2 AND reverse). Expect one such question.
  • Time target: easy coding = 30-45 seconds, sentence-level coding = 60-90 seconds. If a question crosses 90 seconds, mark and move on — come back later.

Sample questions

Q1 · medium · AI-verified
In a certain code language, 'BOOK' is written as 'CPPL'. How is 'TREE' written in that code?
  1. USFF
  2. TQDD
  3. UQFF
  4. VSGG
Q2 · medium · AI-verified
In a code language, 'GAME' is written as 'HBNF' and 'PLAY' is written as 'QMBZ'. How is 'BALL' written?
  1. CBMM
  2. CBML
  3. BAMM
  4. CBML
Q3 · medium · AI-verified
In a code language, if 'ORANGE' is written as 'PSDOHF' and 'BANANA' is written as 'CBOBOB', then 'GRAPES' will be written as:
  1. HSBQFT
  2. HSCQFT
  3. HSBQFS
  4. GSBQFT
Q4 · medium · AI-verified
If in a certain code language, 'BOY' is coded as '25, 15, 25' and 'COW' is coded as '3, 15, 23', then 'DOG' will be coded as:
  1. 4, 15, 7
  2. 7, 15, 4
  3. 4, 12, 7
  4. 7, 12, 4
Q5 · medium · AI-verified
If 'COMPUTER' is coded as '31475028', what is the code for 'MOUSE'?
  1. 41562
  2. 47562
  3. 41672
  4. 47672
💡 Want answers + explanations + 25+ more Coding-Decoding questions? Sign up free →
⭐ Recommended for RRB NTPC aspirants

Pro 6-month

all your target exams · 6 months · unlimited mocks + AI
₹799~₹4.4/day
Sign up free, then unlockSee all plans →

More RRB NTPC topics

Time and Distance
30+ practice questions
Profit and Loss
30+ practice questions
Analogy
30+ practice questions
Mensuration
30+ practice questions
Percentage
30+ practice questions
Indian Geography
29+ practice questions

Free practice, AI explanations, 24 exams — all in one app

Daily 10-Q quiz · AI doubt solver in Hindi + English · adaptive mocks · 4,150+ verified PYQs.

Sign up freePricingTry Daily 10-Q