DocsStation All docs

Coding and Decoding

By csestudy247 · Updated November 20, 2026 · 11 min read

Coding and Decoding – Complete Exam-Oriented Study Notes :root{ –primary:#2563eb;–primary-dark:#1d4ed8;–ink:#172033;–muted:#64748b; –bg:#f5f8fc;–card:#fff;–line:#e2e8f0;–soft:#eff6ff;–green:#ecfdf5; –amber:#fffbeb;–red:#fff1f2;–radius:18px;–shadow:0 8px 28px rgba(15,23,42,.06) } *{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(–bg);color:var(–ink);font:16px/1.75 system-ui,-apple-system,”Segoe UI”,Roboto,Arial,sans-serif} a{color:var(–primary);text-decoration:none} a:hover{text-decoration:underline} .page{max-width:1120px;margin:auto;padding:22px} .hero{background:linear-gradient(135deg,#1d4ed8,#4f46e5 55%,#7c3aed);color:white;border-radius:24px;padding:36px 28px;margin-bottom:24px;box-shadow:var(–shadow)} .hero .eyebrow{font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.85} .hero h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.2;margin:10px 0} .hero p{max-width:780px;margin:12px 0 0;color:#e0e7ff} .meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px} .pill{display:inline-flex;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);padding:6px 12px;border-radius:999px;font-size:.85rem} .layout{display:block;width:100%;} .content{width:100%;max-width:100%;} /* Full-width article layout: TOC removed */ .toc{position:sticky;top:16px;background:var(–card);border:1px solid var(–line);border-radius:var(–radius);padding:18px;box-shadow:var(–shadow)} .toc h3{margin:0 0 10px;font-size:1rem} .toc ul{padding:0;margin:0;list-style:none;max-height:75vh;overflow:auto} .toc li{margin:4px 0} .toc a{display:block;padding:7px 9px;border-radius:9px;color:#334155;font-size:.9rem} .toc a:hover{background:var(–soft);color:var(–primary);text-decoration:none} .content{min-width:0} section,.article-card{background:var(–card);border:1px solid var(–line);border-radius:var(–radius);padding:24px;margin-bottom:20px;box-shadow:var(–shadow)} h2{font-size:1.5rem;line-height:1.3;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(–line)} h3{font-size:1.15rem;margin:22px 0 9px} h4{margin:16px 0 8px} p{margin:10px 0} ul,ol{padding-left:24px} .callout{border-left:4px solid var(–primary);background:var(–soft);padding:14px 16px;border-radius:10px;margin:16px 0} .callout.success{border-color:#16a34a;background:var(–green)} .callout.warning{border-color:#f59e0b;background:var(–amber)} .callout.danger{border-color:#ef4444;background:var(–red)} .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px} .mini-card{border:1px solid var(–line);border-radius:14px;padding:16px;background:#fff} .mini-card h4{margin:0 0 7px;color:var(–primary)} .big-number{font-size:1.3rem;font-weight:800;letter-spacing:.03em} table{width:100%;border-collapse:collapse;margin:14px 0;font-size:.94rem} th,td{border:1px solid var(–line);padding:9px 10px;text-align:center} th{background:#eef4ff;color:#1e40af} .table-wrap{overflow-x:auto;border-radius:12px} .formula{display:block;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:12px;margin:12px 0;font-weight:700} .alphabet{display:grid;grid-template-columns:repeat(13,minmax(30px,1fr));gap:5px;margin:14px 0} .letter{border:1px solid var(–line);border-radius:8px;text-align:center;padding:6px 2px;background:#fff;font-size:.84rem} .letter b{display:block;color:var(–primary)} .example{background:#f8fafc;border:1px solid var(–line);padding:15px;border-radius:12px;margin:12px 0} .step{margin:8px 0;padding-left:12px;border-left:3px solid #c7d2fe} .question{border:1px solid var(–line);border-radius:14px;padding:16px;margin:14px 0;background:#fff} .question h4{margin-top:0} .options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px} .option{border:1px solid var(–line);border-radius:10px;padding:9px 12px;background:#f8fafc} .reveal{margin-top:10px;background:var(–primary);color:white;border:0;padding:9px 14px;border-radius:9px;cursor:pointer;font-weight:700} .reveal:hover{background:var(–primary-dark)} .answer{display:none;margin-top:12px;padding:12px;border-radius:10px;background:var(–green);border:1px solid #bbf7d0} .answer.show{display:block} .quick-revision{background:linear-gradient(135deg,#eff6ff,#f5f3ff);border:1px solid #c7d2fe} .quick-revision li{margin:7px 0} .footer{text-align:center;color:var(–muted);padding:12px 0 28px;font-size:.9rem} @media(max-width:850px){.page{padding:12px}.hero{padding:26px 20px}} @media(max-width:520px){section,.article-card{padding:17px}.toc ul{columns:1}.alphabet{grid-template-columns:repeat(7,minmax(30px,1fr))}table{font-size:.82rem}th,td{padding:7px}} @media print{body{background:#fff}.toc,.reveal{display:none}.layout{display:block}.hero{background:#fff;color:#111;box-shadow:none;border:1px solid #ddd}.hero p{color:#333}section,.article-card{box-shadow:none;break-inside:avoid}}
Verbal Reasoning • Exam Preparation

Master alphabet positions, coding patterns, shortcuts, solved examples and exam-level practice questions with a structured revision guide.

SSC-JERRB-JEState AE/JEBankingPSU Exams

1. Introduction

Coding and Decoding is a fundamental chapter in verbal reasoning for competitive examinations, including SSC-JE, RRB-JE, State AE/JE, Banking (IBPS, SBI), and PSU recruitment tests. Questions assess speed in pattern recognition, logical agility, and mastery of alphabetical relationships under strict time limits.

Exam target: Candidates typically encounter around 3–4 questions from this topic. Aim to solve each question in approximately 30–40 seconds with high accuracy.

🧩 Coding

Apply a rule to convert a word, letter, number or message into a coded pattern.

🔍 Decoding

Identify the rule and reverse the coded pattern to recover the original message.

2. Definitions and Core Terminology

Code (सांकेतिक भाषा)

An artificial representation or secret expression of a message, word, number or symbol created using a logical rule.

Coding (कूटलेखन)

The systematic process of converting plain text, letters or numbers into a coded format using a predetermined pattern.

Decoding (कूटवाचन)

The reverse process of analysing a coded message, identifying its logic and converting it back into meaningful text.

3. Basic Concepts

The English alphabet contains 26 letters: 5 vowels (A, E, I, O, U) and 21 consonants. Forward and reverse positional values form the foundation of coding-decoding questions.

4. Forward Positional Values and EJOTY Shortcut

In standard forward order, letters are assigned positions from A = 1 to Z = 26.

EJOTY Shortcut: Remember the benchmark positions E = 5, J = 10, O = 15, T = 20 and Y = 25. Use them to count nearby letters quickly.

Memory shortcuts

  • G = 7: Associate G with the number 7.
  • H = 8: The shape of H can remind you of 8.
  • I = 9: “I know” sound association.
  • J & K = 10, 11: Jammu & King 11 Panjab.
  • M = 13: jo tera hai o mera hai ; N follows at 14.
  • O & P = 15, 16: “Omprakash”.
  • Q = 17: Question No. 17
  • R = 18: Rani ke sadi 18 me huaa
  • S = 19: Rani ke sadi 18 me huaa Sanjit se jo ek sal big tha
  • T = 20: T-20 cricket.
  • U & V = 21, 22:Uveraj shnh ne 21 me 22 six mare
  • W = 23: Visual association with 3.
  • X, Y, Z = 24, 25, 26: The final three letters.

5. Reverse Order and “Formula 27”

When counting from the right end (Z → A), Z has rank 1 and A has rank 26.

Reverse Position = 27 − Forward Position

The forward and reverse ranks of any letter always add up to 27.

Example: K

Forward position of K = 11.

Reverse position = 27 − 11 = 16.

6. Opposite Letter Pairs

Two letters are opposite pairs when the sum of their forward positional values is 27.

No.PairMnemonicSum
1A–ZA to Z / Aaza1 + 26 = 27
2B–YBOY / By2 + 25 = 27
3C–XCoreX / Six / COX3 + 24 = 27
4D–WDoodh-Wala / Dew4 + 23 = 27
5E–VEvening / Electrical Vehicles5 + 22 = 27
6F–UFather-Uncle / Fun / Uff6 + 21 = 27
7G–TGT Road7 + 20 = 27
8H–SHigh School / Honey-Singh8 + 19 = 27
9I–RIndian Railway9 + 18 = 27
10J–QJaipuri-Queen / Jack-Queen10 + 17 = 27
11K–PKala-Pani / Kevin-Peterson11 + 16 = 27
12L–OLOVE12 + 15 = 27
13M–NMAN13 + 14 = 27

7. Six Types of Coding-Decoding

Type 1: Letter-to-Letter

Letters are replaced by other letters using shifts, reversal, pair swapping or opposite letters.

Type 2: Letter-to-Number

Letters are converted to numbers using positions and mathematical operations.

Type 3: Substitution

Names of objects, colours or animals are replaced with other names.

Type 4: Sentence Coding

Common words and codes are identified by comparing overlapping sentences.

Type 5: Direct Coding

Letters map directly to assigned symbols, digits or values.

Type 6: Matrix Coding

Letters are represented by coordinate-like codes derived from a grid.

Type 1 — Letter-to-Letter Coding

  • Forward/backward shift: letters move +1, +2, +3 or −1, −2, −3.
  • Reverse order: MONKEY → YEKNOM; CIRCLE → ELCRIC.
  • Pair swapping: TRAINS → RTAISN (swap adjacent pairs).
  • Opposite letters: replace each letter using Formula 27.
Shift example: RADIO → SBEJP (each letter moves one step forward).

Type 2 — Letter-to-Number Coding

  • Direct positional sum: RAM = 18 + 1 + 13 = 32.
  • Opposite positional sum: GO = (27−7) + (27−15) = 20 + 12 = 32.
  • Average positional value: HOTEL = 8 + 15 + 20 + 5 + 12 = 60; average = 60/5 = 12.
  • Digit-sum reduction: LONG = 48 → 4+8=12 → 1+2=3.

Type 3 — Substitution Coding

Rule reminder: In “is called” questions, follow the stated naming substitution. In “means” questions, carefully identify whether the question asks for the original meaning or the substituted name; do not assume a direction without reading the wording.

Example: If Green is called Yellow, Yellow is called Red, and Red is called Blue, the natural colour of human blood is Red. Since Red is called Blue, the coded answer is Blue.

Type 4 — Sentence / Group Coding

Compare sentences and codes. Common words correspond to common code elements; eliminate matched pairs until the target word’s code is identified.

ORANGE IS RED → MIT JU PUS

RED AND BLACK → JU SA TUM

WHAT IS WHITE → MA PUS NUM

Lines 1 and 2 share RED and JU, so RED = JU.
Lines 1 and 3 share IS and PUS, so IS = PUS.
The remaining pair in Line 1 gives ORANGE = MIT.

Type 5 — Direct Coding (Index / Copy Coding)

Letters are mapped directly to values assigned in the examples.

WORK = 4567 and MAN = 328 → W=4, O=5, M=3, A=2, N=8. Therefore WOMAN = 45328.

Type 6 — Matrix Coding

Two grids (often 0–4 and 5–8) contain letters. A letter is represented by a two-digit coordinate.

  • Row–Column (R–C): first digit = row, second digit = column.
  • Column–Row (C–R): first digit = column, second digit = row; use only when instructions specify it.

8. Important Formulas and Rules

RuleFormulaApplication
Forward positionA=1 … Z=26Base value for letter arithmetic
Reverse position27 − Forward RankInstant conversion from left to right rank
Opposite pairRank₁ + Rank₂ = 27Check complementary letters
Average positionΣ Positions ÷ Number of LettersWhen code is based on average
SubstitutionFollow the naming relationship“Called” / “means” wording

9. Solved Examples

Example 1: Letter Shift

Question: NOIDA is written as STNIF. How is MEERUT written?

Rule: Forward shift +5.

M+5=R; E+5=J; E+5=J; R+5=W; U+5=Z; T+5=Y.

Answer: RJJWZY

Shortcut: Check the first and last letters to eliminate options quickly.

Example 2: Sum of Opposite Positions

Question: If GO=32 and SHE=49, find SOME.

GO: G→T (20), O→L (12): 20+12=32.
SHE: S→H (8), H→S (19), E→V (22): 8+19+22=49.
SOME: S→H (8), O→L (12), M→N (14), E→V (22).

Total = 8+12+14+22 = 56.

Example 3: Opposite Letter Number Code

Question: TENT = 07-22-13-07 and COT = 24-12-07. Find CAMEL.

C→X=24; A→Z=26; M→N=14; E→V=22; L→O=15.

Answer: 24-26-14-22-15

Example 4: Digit Sum Reduction

Question: LONG=3 and NOT=4. Find NAME.

LONG: 12+15+14+7=48 → 4+8=12 → 1+2=3.
NOT: 14+15+20=49 → 4+9=13 → 1+3=4.
NAME: 14+1+13+5=33 → 3+3=6.

Answer: 6

Example 5: Positional Square Sum

Question: If RIVER=1238, find SLEEP.

RIVER = 18²+9²+22²+5²+18² = 1238.
SLEEP = 19²+12²+5²+5²+16² = 361+144+25+25+256.

Answer: 811

10. Short Tricks and Techniques

Option Elimination

Decode only the first and last letters first. Use them to eliminate options.

Reverse Indexing

Instead of writing reverse alphabets, calculate 27 − forward position.

Pattern Order

Test opposite pairs → shifts → swaps → vowel/consonant logic.

Vowel Rank

Check separate vowel indexing A=1, E=2, I=3, O=4, U=5 if values appear unusually small.

11. Important Exam Points

  • Pattern consistency: Verify the same rule against all sample words before applying it.
  • Direct coding: If target letters are mapped from the given example words, use direct/copy coding.
  • Matrix verification: Test the sample code to confirm whether row–column or column–row order is used.

12. Common Mistakes

Reverse rank: Do not subtract from 26. Use 27 − forward rank.
“Is called” vs “means”: Read the complete question and identify whether it asks for the original object or the substituted name.
Circular shifts: Continue after Z: Z+1=A, Z+2=B. Likewise, A−1=Z.

13. Practice Questions

Basic Level

Q1. RADIO is written as SBEJP. How is TELEVISION written?

(a) UFMFWJDJPO
(b) UFMFWJTJPO
(c) MUFFWJDJPO
(d) None of these

Q2. If RAM = 32, what is the value of MAN?

(a) 28
(b) 30
(c) 31
(d) 26

Q3. ROSE = 6821, CHAIR = 73456, PREACH = 961473. How is SEARCH coded?

(a) 246173
(b) 214673
(c) 214763
(d) 216473

Intermediate Level

Q4. FORGET is written as DPPHCU. How is DOCTOR written?

(a) BPAUMS
(b) BPAUPS
(c) EMDRPP
(d) BPARPP

Q5. If M=10 and MAN=25, then POT=?

(a) 51
(b) 48
(c) 44
(d) 47

Q6. BOOKS ARE OLD = 253; MAN IS OLD = 546; BUY GOOD BOOKS = 378. What is the code for ARE?

(a) 5
(b) 3
(c) 2
(d) Cannot be determined

Advanced / Exam Level

Q7. If 44+12=30, 77+14=61, and 84+16=66, then 44+22=?

(a) 20
(b) 32
(c) 24
(d) 28

Q8. If RIVER=1238, then SLEEP=?

(a) 118
(b) 811
(c) 18234
(d) Cannot be determined

14. Answer Key with Explanations

QuestionAnswerConcept
1(b) UFMFWJTJPO+1 letter shift
2(a) 28Positional sum
3(b) 214673Direct coding
4(a) BPAUMSAlternating −2, +1
5(b) 48Sum minus 3
6(c) 2Common-word elimination
7(a) 20(A−B)−2
8(b) 811Sum of squares

15. Quick Revision Card

  1. EJOTY ranks: E=5, J=10, O=15, T=20, Y=25.
  2. Reverse position: Right rank = 27 − Left rank.
  3. Opposite pairs: 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.
  4. Pattern testing: Opposites → shifts → swaps → mathematical patterns.
  5. Substitution: Carefully interpret “is called” and “means”.
  6. Matrix coding: Confirm row/column order from the question.
Final exam strategy: Identify the pattern first, verify it using the given example, and then apply it to the target word. Avoid unnecessary calculations when option elimination is possible.
Coding and Decoding • Exam-Oriented Study Notes
const alphabetGrid=document.getElementById(‘alphabet-grid’); if(alphabetGrid){ for(let i=1;i<=26;i++){ const letter=String.fromCharCode(64+i); const item=document.createElement('div'); item.className='letter'; item.innerHTML='‘+letter+’‘+i; alphabetGrid.appendChild(item); } } document.querySelectorAll(‘.reveal’).forEach(button=>{ button.addEventListener(‘click’,()=>{ const answer=button.nextElementSibling; answer.innerHTML=button.dataset.answer; answer.classList.toggle(‘show’); button.textContent=answer.classList.contains(‘show’)?’Hide Answer’:’Show Answer’; }); });
Scroll to Top