Coding-Decoding — SSC CHSL Study Notes
Overview
Coding-Decoding is a staple of the General Intelligence and Reasoning section in SSC CHSL Tier 1, typically yielding 2–4 questions per paper. The questions test your ability to identify patterns in how words, numbers or symbols are transformed using a defined rule or logic. These problems measure logical thinking and pattern recognition rather than language proficiency.
The topic covers four main variants: **letter shifting** (moving letters forward or backward in the alphabet), **number coding** (assigning numeric values to letters), **conditional coding** (applying different rules based on position or type), and **matrix-based coding** (using row-column coordinates). Mastery requires recognising the coding rule quickly—often within 30–45 seconds per question—and applying it accurately. The difficulty ranges from straightforward single-step codes to multi-layered logic requiring attention to word structure, letter position or given conditions.
Most students find this topic scoring once they learn the common pattern families. Practice 20–30 varied problems to build speed and confidence.
Key Concepts
- **Alphabet Position Values**: Each letter has a fixed position — A=1, B=2, C=3 … Z=26. Many codes depend on adding, subtracting or reversing these values.
- **Forward and Backward Shifting**: Letters shift by a constant number of places forward (+) or backward (−) in the alphabet. For example, shifting "CAT" forward by 2 gives "ECV" (C→E, A→C, T→V).
- **Reverse Alphabet Pairing**: Each letter pairs with its mirror position (A↔Z, B↔Y, C↔X, etc.). This is used in reverse-alphabet coding where the coded letter is the counterpart.
- **Number Coding Schemes**: Letters may be coded as their position values, sums, products or differences. "CAT" could become "3-1-20" (position values) or "24" (sum of positions).
- **Conditional Rules**: Different transformations apply based on letter type (vowel/consonant), position (first/middle/last) or other stated conditions. Always read conditions carefully.
- **Matrix Coding**: Words are coded using a grid where each cell holds a letter. The code is the sequence of (row, column) pairs. For instance, if 'A' is at (1,2), the code for 'A' is "12".
- **Dummy or Symbol Substitution**: Sometimes letters map to arbitrary symbols or dummy characters with no alphabetic logic. Solve these by direct comparison of examples given in the question.
- **Consistency Check**: The same letter must map to the same code throughout the question. Use this to eliminate wrong answer options quickly.
Formulas / Key Facts
1. **Alphabet Position**: A=1, B=2, C=3 … Z=26. Reverse position of letter at position *n* is 27 − *n*.
2. **Forward Shift Formula**: New position = (Old position + shift value). If result > 26, subtract 26 (wrap around).
3. **Backward Shift Formula**: New position = (Old position − shift value). If result < 1, add 26.
4. **Reverse Alphabet Pairs**: A↔Z, B↔Y, C↔X, D↔W, E↔V … M↔N. Memorise or use 27 − *n* formula.
5. **Vowels and Consonants**: Vowels are A, E, I, O, U (5 letters). Remaining 21 are consonants. Many conditional codes treat these differently.
6. **Letter Value Sum**: To find sum of letter values in a word, add position values. E.g. "SUN" = 19 + 21 + 14 = 54.
7. **Difference Coding**: Sometimes each letter is coded as the difference between its position and a fixed number (often 26 or position of another letter).
8. **Matrix Notation**: In a 5×5 matrix, letter 'K' at row 2, column 3 is coded as "23" or (2,3). Always note row-first vs. column-first convention given in the problem.
Worked Examples
**Example 1 (Letter Shifting)**: If "GOAL" is coded as "IQCN", how is "TEAM" coded?
*Solution*: Compare letters of GOAL and IQCN: G (7) → I (9): shift +2 O (15) → Q (17): shift +2 A (1) → C (3): shift +2 L (12) → N (14): shift +2 **Rule**: Each letter shifts forward by 2 positions. Apply to TEAM: T (20) → V (22) E (5) → G (7) A (1) → C (3) M (13) → O (15) **Answer**: TEAM → VGCO
---
**Example 2 (Number Coding)**: In a code language, "PEN" is written as "16-5-14". How is "INK" written?
*Solution*: P = 16, E = 5, N = 14 (position values) **Rule**: Each letter is replaced by its alphabet position number. Apply to INK: I = 9, N = 14, K = 11 **Answer**: INK → 9-14-11
---
**Example 3 (Conditional Coding)**: If vowels are coded as the next letter and consonants as the previous letter, how is "RICE" coded?
*Solution*: R (consonant): R (18) → Q (17) I (vowel): I (9) → J (10) C (consonant): C (3) → B (2) E (vowel): E (5) → F (6) **Answer**: RICE → QJBF
---
**Example 4 (Matrix Coding)**: In a 4×4 matrix, rows 1–4 are numbered 1–4 and columns A–D. 'A' is at (1,A), 'B' at (1,B), 'E' at (2,A), etc. The code for a letter is row number followed by column letter. What is the code for "CAB"?
*Solution*: C at row 1, column C → Code: 1C A at row 1, column A → Code: 1A B at row 1, column B → Code: 1B **Answer**: CAB → 1C-1A-1B
Common Mistakes
1. **Confusing forward and backward shifts** → Always double-check the direction. If "A" becomes "C", it's +2 forward, not −2 backward. Count carefully from the original letter.
2. **Forgetting alphabet wraparound** → After Z comes A. If you shift Z forward by 1, you get A (not 27). Use modulo 26 logic or subtract 26 when result exceeds 26.
3. **Ignoring vowel-consonant distinctions** → Conditional codes often treat vowels (A,E,I,O,U) differently from consonants. Missing this condition invalidates the entire solution. Always read the rule carefully.
4. **Misreading matrix row-column order** → Some questions give (row, column), others (column, row). Note the convention explicitly stated in the question before coding.
5. **Applying the code to the question word instead of reversing it** → If the question asks "If GOAL is coded as IQCN, decode IQCN", you must reverse the process (shift backward instead of forward). Don't repeat the same transformation blindly.
Quick Reference
- **Alphabet positions**: A=1, Z=26. Reverse of *n* is 27−*n*.
- **Letter shifting**: Move each letter ± constant places. Wrap at A/Z.
- **Reverse alphabet coding**: Swap each letter with its 27−*n* pair (A↔Z, B↔Y, etc.).
- **Number coding**: Replace letters with position values or sums/products.
- **Conditional rules**: Check vowel/consonant, first/last letter conditions before coding.
- **Matrix coding**: Note row/column order and map letters to coordinate pairs. Consistency is key—same letter = same code.