PYQ Vault

SSC CGL Reasoning · Coding-Decoding

Reversal and Opposite Letters

The letters of the word are put in a new order (reversed, split into halves, swapped in pairs), often with a letter shift on top, or each letter is replaced by its opposite letter, the one in the same place from the other end of the alphabet.

Why this matters

Forty-nine questions in the bank, and they include all five HARD questions in the chapter. Twenty-eight of them reverse or swap the letters and then shift them, which is why a letter-by-letter count of gaps finds no rule: the reversal has to be undone first.

Concept 1 of 3: Reversing and rearranging the letters

If the code is made of exactly the letters of the word, nothing was shifted: the letters only changed places. The job is to find where each letter went and send the new word's letters to the same places.

Definition

1. Same letters? Compare the code's letters with the word's. If they match, it is a rearrangement, and every option with new letters is out. 2. Try the usual moves first: the whole word reversed; the first letter kept and the rest reversed; the last letter kept and the rest reversed; each half reversed; letters swapped in pairs (1st with 2nd, 3rd with 4th, ...); some pairs swapped and others left alone. 3. When none fits, number the places. Write 1, 2, 3, ... under the word and write the code as a list of those numbers (FRAME to MERAF is 4, 5, 2, 3, 1). Take the new word's letters in the same order. 4. Fast route: find where the first letter of the word went, and check only that place in the options.

Worked example

In a certain code language, 'CARPET' is written as 'RACTEP'. How will 'MONKEY' 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 2 · Q14Moderate

Example 1 · Coding-Decoding · Reversal and Opposite Letters

If FRIEND becomes FDNIRE, how is TICKET written?

Shifting letters that were only moved

When the code has the same letters as the word, no letter changes. An option containing a letter the new word does not have is wrong, however neat its pattern looks.

Reversing the whole word when only the halves were reversed

CARPET written backwards is TEPRAC, not RACTEP. Look at where the word's first letter landed (the middle here, not the end) before you choose the move.

Concept 2 of 3: Rearrange first, then shift

Many codes do two jobs: they move the letters around and then shift them. If the gaps between word and code make no sense letter by letter, undo the most likely rearrangement (usually a reversal) and count the gaps again. A clean rule, +3 everywhere or +6, +5, +4, ..., then appears.

Definition

1. Count the gaps letter by letter. If they form a pattern, the code is only a shift. 2. If they do not, compare the last letter of the word with the first letter of the code. If those two are close, reverse the word and count again. 3. Also try the other moves: swap the first two and last two letters, swap in pairs, reverse each half. Then count the gaps on the rearranged word. 4. Does the order matter? With one shift for every letter, reversing before or after shifting gives the same code. With a pattern of gaps (+1, +2, +3, ...) it does not, so read from the example which step came first. 5. Some codes treat the two halves differently: the first half only shifted, the second half reversed and then shifted. 6. Fast route: once you know the rule, build only the first two letters of the answer from the right end of the word.

Worked example

In a certain code language, 'BASKET' is written as 'VGMUCD'. How will 'POCKET' 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, 22 Sep 2025, Shift 3 · Q13Moderate

Example 2 · Coding-Decoding · Reversal and Opposite Letters

If STRONG is written as HOPSUT, how is MIGHTY written?

Counting gaps before undoing the reversal

In a reversed code the first code letter comes from the word's last letter. Comparing it with the word's first letter gives a nonsense gap, and a student who stops there guesses.

Running a growing shift from the wrong end

When the word is reversed first, the gaps +6, +5, +4, ... start at the reversed word's first letter, which is the original last letter. Starting them at the original first letter gives a code that is printed as a wrong option.

Stopping after one example fits

A reverse-and-shift rule can fit one example by luck. When two examples are printed, check the rule on both before building the answer.

Concept 3 of 3: Opposite letters: pairs that add to 27

Every letter has an opposite: the letter in the same place counted from the other end. A is first from the front and Z is first from the back, so A and Z are opposites. Their positions always add to 27.

Definition

  • Rule: a letter at position p has its opposite at 27 minus p. So the opposite of G (7) is T (20).
  • To write the table fast, put A to M in a row and Z to N under it, backwards. Each column is a pair.
  • Spot it: when the gaps between word and code jump about (A to Z, B to Y, K to P), test whether each pair adds to 27.
  • Some codes add a shift: the letter just after the opposite (B to Y to Z), or opposites only for the first and last letters.
LetterPositionOppositeOpposite's position
A1Z26
B2Y25
C3X24
D4W23
E5V22
F6U21
G7T20
H8S19
I9R18
J10Q17
K11P16
L12O15
M13N14
Each pair adds to 27. A memory line some students use: 'AZ BY CX DW EV'.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2025 · Tier I, 24 Sep 2025, Shift 3 · Q25Easy

Example 3 · Coding-Decoding · Reversal and Opposite Letters

In a certain code, BEAR is written as YVZI. How is LION written in that code?

Using 26 instead of 27

The opposite of a letter is at 27 minus its position. Taking 26 minus the position lands one letter short: it gives V for D, when the opposite of D is W.

Hunting for a shift in an opposite code

An opposite code moves each letter a different distance (A moves 25, M moves 1), so no shift pattern exists. When the gaps look random, add each pair's positions before anything else.

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.

Reference tables (1)

Opposite letters: pairs that add to 2713 rows
LetterPositionOppositeOpposite's position
A1Z26
B2Y25
C3X24
D4W23
E5V22
F6U21
G7T20
H8S19
I9R18
J10Q17
K11P16
L12O15
M13N14
Each pair adds to 27. A memory line some students use: 'AZ BY CX DW EV'.

Watch out for (7)

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.