An Initiative by SAARTHI IAS
Maarg Manthan · Topic 8.5

One-to-One Letter Substitution and Coding of Words

Reasoning › Alphabet and Word-Based Test · Topic 8.5

One-to-one letter substitution coding replaces every letter of a word by exactly one other letter, using a fixed rule such as a shift forward, a shift backward or the opposite letter. Find the rule from one coded word, then apply it to a new word or reverse it to decode.

Share:
One-to-One Letter Substitution and Coding of Words - Reasoning - MaargX UPSC Maarg Manthan

Quick Answer

One-to-one letter substitution coding replaces every letter of a word by exactly one other letter, using a fixed rule such as a shift forward, a shift backward or the opposite letter. Find the rule from one coded word, then apply it to a new word or reverse it to decode.

At a Glance

  • Same shift for all letters Constant shift
  • Forward shift Add the shift to each letter position
  • Backward shift Subtract the shift
  • Opposite letter Position becomes 27 – position
  • Mixed shift Different shift for each place
  • Decoding Reverse each step

Where Does It Fit?

This topic uses the letter positions from Letter Position-Based Problems (Counting Letters from Left/Right in the Alphabet) to decode words. The reversed-alphabet code connects to Alphabet Test Involving Opposite Letters (EJOTY Rule), and the shifting variations are extended in Word Formation and Letter-Shifting Based Tests.

How Do You Find the Rule in a Letter Code?

In short: compare each letter of the original word with the letter above it in the coded word. If the shift is the same for every letter, that is the rule.

Original Code Letter shifts Rule
MONDAY NPOEBZ +1 each Forward by 1
BRAIN DTCKP +2 each Forward by 2
ATTACK DWWDFN +3 each Forward by 3
TABLE GZYOV Opposite of each letter Reverse alphabet
CAT DCW +1, +2, +3 Mixed shifts
  • Constant shift: every letter moves by the same number of steps.
  • Opposite letters: A to Z, B to Y, and so on; the position sum is 27, as in Alphabet Test Involving Opposite Letters (EJOTY Rule).
  • Mixed shift: the shift changes with the place; check the first three letters to see the pattern.

How Do You Apply a Code and Decode a Word?

In short: to code, apply the rule to each letter; to decode, apply the opposite rule. A forward shift is undone by an equal backward shift.

Apply and reverse

  • Forward shift by k: new position = old position + k, and subtract 26 if it goes past Z.
  • Backward shift by k: new position = old position – k, and add 26 if it goes below A.
  • Decode a forward shift of k by shifting back by k.
  1. Find the rule using one given pair.
  2. Write the positions of the new word.
  3. Apply the shift to each position.
  4. Convert the positions back to letters and read the word.

With the code for MONDAY as NPOEBZ, the word FRIDAY is coded as GSJEBZ.

What Other Letter-Code Patterns Appear in Exams?

In short: besides a constant shift, exams use the opposite letter code, a mixed forward-and-back pattern, and codes where the word is also reversed.

  • Opposite letter code: CAB becomes XZY.
  • Mixed shift: with shifts +1, +2, +3 for places 1, 2, 3, the word DOG becomes EQJ.
  • Combined rule: reverse the word and then shift each letter.
  • Detecting the rule: test the first and last letters first, because they show both direction and size of the shift. The shifting variations are practised in Word Formation and Letter-Shifting Based Tests.

Solved Examples

Example 1

Question: In a code, MONDAY is written as NPOEBZ. How is FRIDAY written in that code?

  1. M to N, O to P, N to O: each letter moves forward by 1.
  2. FRIDAY: F to G, R to S, I to J, D to E, A to B, Y to Z.

Answer: GSJEBZ.

Example 2

Question: In a code, TABLE is written as GZYOV. How is CAB written in that code?

  1. T (20) to G (7) means 27 – 20 = 7, so each letter becomes its opposite.
  2. C (3) becomes X (24), A becomes Z, B becomes Y.

Answer: XZY.

Example 3

Question: In a code, BRAIN is written as DTCKP. How is HEART written?

  1. B to D, R to T, A to C, I to K, N to P: forward by 2.
  2. HEART: H to J, E to G, A to C, R to T, T to V.

Answer: JGCTV.

Example 4

Question: In a code, CAT is written as DCW. How is DOG written?

  1. C to D (+1), A to C (+2), T to W (+3).
  2. D (+1) = E, O (+2) = Q, G (+3) = J.

Answer: EQJ.

Example 5

Question: In a code, ATTACK is written as DWWDFN. Decode KHOOR in the same code.

  1. A to D shows each letter moves forward by 3, so decoding moves each letter back by 3.
  2. K to H, H to E, O to L, O to L, R to O.

Answer: HELLO.

Shortcuts and Tricks

  • Compare the first and last letters to find the shift quickly.
  • If the same shift does not fit every letter, look for opposite letters or a mixed shift.
  • For wrap-around, add or subtract 26.
  • Write the letter positions below the letters of the word.
  • To decode, undo the rule step by step in reverse order.

Common Mistakes

  • Applying a forward shift when decoding.
  • Forgetting to wrap around from Z to A.
  • Assuming a constant shift without checking all letters.
  • Using 26 instead of 27 for opposite letters.
  • Mixing up the shifts of different places in a mixed code.

Practice Questions

  1. If SUN is coded as TVO, how is MOON coded?
  2. If TABLE is coded as GZYOV, how is MIND coded?
  3. In the code for ATTACK as DWWDFN, decode FDW.
  4. If BRAIN is coded as DTCKP, how is CODE coded?
  5. If CAT is coded as DCW, how is BAT coded?
  6. How is CAB coded in the reverse alphabet code?

Answers: 1) NPPO; 2) NRMW; 3) CAT; 4) EQFG; 5) CCW; 6) XZY.

Why Is This Topic Important?

  • Base of coding Letter coding is the base for every coding variant.
  • Pattern spotting You learn to find rules from one example.
  • Exam use Substitution codes appear in nearly all reasoning papers.
  • Link Next topics extend the same idea.

What Comes Next?

The next topic is Number of Meaningful Words Formable from the Letters of a Given Word. It counts the words that can be made from the letters of a given word.

Key Terms and Formulas

  • Code A rule that replaces letters by other letters
  • Shift Number of steps a letter moves in the alphabet
  • Wrap-around Continuing from Z back to A
  • Decode Recover the original word
  • Opposite letter The letter at the same distance from the other end
  • Mixed shift A different shift at each place

Exam Corner

Points to Remember

  • Find the rule from one pair.
  • Forward shift is undone by a backward shift.
  • Opposite letters add to 27.
  • Wrap around after Z.
  • Check the whole word, not just one letter.

Do Not Confuse With

  • Forward vs backward Moving toward Z is forward.
  • Opposite vs shift Opposite letters mirror the alphabet; a shift slides it.
  • Code vs decode Decoding reverses the rule.
  • Constant vs mixed shift A mixed shift changes with the place.

Memory Hook

Find the shift on the first letter, check it on the last, then apply it to the rest.

GS Relevance

Letter-substitution coding is a regular SSC CGL, CHSL, banking and railway reasoning item and the base of every letter coding variant.

Frequently Asked Questions

How do you solve letter substitution coding questions?

Compare each letter of the original word with the letter at the same place in the coded word to find the rule. Check that the same rule fits every letter. Then apply the rule to the new word, or reverse it if the question asks you to decode.

What is a one-to-one letter substitution code?

It is a code in which every letter of the original word is replaced by exactly one other letter, and the same letter is always replaced in the same way. A constant shift, such as plus one, or the opposite letter code, are common examples in exams.

How do you decode a coded word in reasoning?

Find the rule from a given example, then apply its reverse to the coded word. If each letter was shifted forward by 3 to get the code, shift each letter of the code back by 3. For KHOOR with this rule, the decoded word is HELLO.

What is the opposite letter code?

In the opposite letter code each letter is replaced by the letter at the same distance from the other end of the alphabet, so A becomes Z, B becomes Y, and C becomes X. The positions of a letter and its opposite always add up to 27.

How do you handle wrap-around in letter shifts?

If a forward shift goes past Z, subtract 26 from the new position to continue from A. If a backward shift goes before A, add 26. For example, a forward shift of 2 applied to Z gives B, since 26 plus 2 minus 26 equals 2.

PYQ Practice — Statement Analysis

1 If MONDAY is coded as NPOEBZ, FRIDAY is coded as GSJEBZ.
True

Each letter is shifted forward by 1.

2 In the opposite letter code, CAB is coded as XZY.
True

C becomes X, A becomes Z and B becomes Y.

3 To decode a forward shift of 3, shift each letter forward by 3 again.
False

Decoding shifts each letter back by 3.

4 In a mixed shift code, every letter moves by the same number of steps.
False

A mixed shift uses a different shift at each place.

Share: