PYQ Vault

SSC CGL Reasoning · Coding-Decoding

Position Values and Sums

Letters become numbers: each letter is written as its place in the alphabet (from the front or from the back, sometimes changed by a fixed rule), the places are added into one number, or the code depends only on how many letters the word has.

Why this matters

Sixty questions in the bank: thirty-two code each letter as a number, nineteen add the letters into a single number, and nine use only the word's length or a number system. Twenty-seven are MODERATE, more than on any other page of this chapter, because a rule has to be found and then tested on a second example.

Concept 1 of 3: Each letter written as a number

Write the position of every letter of the example word and put those numbers next to the code. Either they are the code, or every one has been changed the same way: counted from Z, increased by a fixed number, doubled, or doubled only for the vowels.

Definition

  • Forward position: A = 1 to Z = 26 (anchors E 5, J 10, O 15, T 20, Y 25).
  • Reverse position: A = 26 to Z = 1. It equals 27 minus the forward position, which is the forward position of the opposite letter: H is 8, so its reverse position is 19 (S).
  • Usual changes: position plus or minus a fixed number, twice the position, the square of the position, or a change for vowels only or consonants only.
  • Reading a joined code: one- and two-digit numbers run together (DOLL is 4, 15, 12, 12, written 4151212). Split it from the left using the letters you know, never by guessing.
  • Two different reversals: the word read backwards (TOP as P, O, T gives 161520) is not the same as the digits reversed (201516 reversed is 615102). Test both on the example.
  • Fast route: work out the first and last letters' numbers only; they usually leave one option.

Reverse position of a letter

reverse position=27−forward position\text{reverse position} = 27 - \text{forward position}

Worked example

In a certain code language, 'FISH' is written as '21-18-8-19'. How will 'CRAB' be written in that language?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2025 · Tier I, 19 Sep 2025, Shift 3 · Q15Easy

Example 1 · Coding-Decoding · Position Values and Sums

If GANGA is coded as 711471, how will YAMUNA be coded?

Splitting a joined code the wrong way

1121 can be read as 1, 1, 2, 1 or 11, 21 or 1, 12, 1. Split the code by the letters you already know; an option that only works with a different split is wrong.

Reversing the digits when the letters were reversed

Writing a word backwards reverses the order of its numbers; reversing the whole digit string also flips each two-digit number (20 becomes 02). The two give different codes, and SSC prints both.

Concept 2 of 3: Adding the letters into one number

When a whole word becomes one number, add its letters' positions and compare the total with the code. The code is the total itself or the total changed by one simple step, and that step has to fit both examples.

Definition

1. Add the forward positions. Compare with the code: equal, total plus a number, total times a number, total times the number of letters, or total divided by the number of letters. 2. If nothing fits, add the reverse positions and compare again. 3. Shortcut: for a word of n letters, reverse sum = 27n minus forward sum. Work out one sum and you have both. 4. Test the step on both examples. +10 and times 2 can both fit one word. 5. Fast route: look at the options' last digits, or which options are multiples of the letter count; often only one can be right.

Reverse sum of a word

reverse sum=27n−forward sum\text{reverse sum} = 27n - \text{forward sum}
  • nnthe number of letters in the word

Worked example

In a certain code language, 'BOX' is coded as '82' and 'CUP' is coded as '80'. How will 'JAR' be coded in that language?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2024 · Tier I, 17 Sep 2024, Shift 1 · Q4Moderate

Example 2 · Coding-Decoding · Position Values and Sums

In a certain code language, 'FLBS' is coded as '156' and 'MXT' is coded as '228'. How will 'VDZN' be coded in the same language?

Trusting a step that fits one example

A total of 40 coded as 80 fits both 'times 2' and 'plus 40'. Only the second example decides, so never skip it.

Counting a repeated letter once

In a word such as 'GRASS' both S's are added. Dropping the second one is the most common slip in these sums, and its total is often printed.

Concept 3 of 3: Codes from the number of letters, and number systems

If two words with quite different letters get codes like 16 and 25, count their letters before adding anything: 4 and 5. A code that is a perfect square or cube, or a neat multiple, is often about length alone.

Definition

  • Count the letters, n. Try n squared, n cubed, 2n, 7n, n minus 1. A square (16, 25, 36) or a cube (27, 64, 125) is a strong hint.
  • If two words of the same length but different letters have the same code, the letters do not matter.
  • Two-sign number systems are binary: one sign stands for 0, the other for 1. Write the number as a sum of 64, 32, 16, 8, 4, 2, 1 and put 1 for each value used, 0 for each one skipped.
  • Remainder codes: a number coded by its remainders on division by 3, 7 and 11. A number leaving the same remainder r on all three is r more than a multiple of 3 times 7 times 11, which is 231.

Binary place values

643216842164 \quad 32 \quad 16 \quad 8 \quad 4 \quad 2 \quad 1

Worked example

In a certain code language, 'TREE' is coded as '64' and 'BRANCH' is coded as '216'. How will 'PLANT' be coded in that language?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2024 · Tier I, 24 Sep 2024, Shift 3 · Q15Easy

Example 3 · Coding-Decoding · Position Values and Sums

In a certain code language, ‘BLEACHERS’ is coded as ‘63’ and ‘ABACAS’ is coded as ‘42’. How will ‘FIZZY’ be coded in the same language?

Adding letters when only the length matters

Before summing positions, check whether the codes simply follow the word lengths. A 5-letter and an 8-letter word coded 15 and 24 need no letter values at all: 5 and 8 times 3.

Dropping the zeros in binary

41 = 32 + 8 + 1, which is 101001: six places, with a 0 for 16, 4 and 2. Writing only the 1s (111) or skipping a 0 gives a different number.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

Watch out for (6)

Test yourself on Coding-Decoding

20 past SSC CGL questions from this chapter, timed at 12 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.