UPSC CSAT 2024 Q78: Reverse-and-Prefix Letter Coding — Solved
If in a certain code, 'POT' is written as ATOP and 'TRAP' is written as APART, then how is 'ARENA' written in that code?
- AARENA
- AANREA
- AANEAR
- AANERA
Answer: (d) AANERA
Solution
-
Look at the first example: POT → ATOP. - POT has 3 letters. ATOP has 4. So one letter is added. - Drop the first letter of the code: ATOP → TOP. - TOP is POT written backwards: P-O-T reversed is T-O-P. - So the rule so far is: reverse the word, then put A in front.
-
Check the rule on the second example: TRAP → APART. - Reverse TRAP: T-R-A-P becomes P-A-R-T, which is PART. - Put A in front: A + PART = APART. - This matches the given code, so the rule holds for both examples.
-
State the rule in full. - Code = A + (the word written backwards). - You get the same result if you add A at the end of the word and then reverse the whole thing. POT + A = POTA, and POTA reversed is ATOP. - Adding A at the front and then reversing does not work. APOT reversed is TOPA, not ATOP.
-
Reverse ARENA letter by letter. - Letters in order: A(1) R(2) E(3) N(4) A(5). - Read them from position 5 back to position 1: A(5) N(4) E(3) R(2) A(1). - ARENA reversed = ANERA. - ARENA is not a palindrome. Forwards it is A-R-E-N-A. Backwards it is A-N-E-R-A.
-
Put A in front. - A + ANERA = AANERA.
-
Check the answer. Remove the leading A from AANERA to get ANERA. Reverse ANERA to get ARENA, the original word. ✔
Answer: AANERA
Option-wise explanation
- a: incorrect — AARENA puts A in front but never reverses the word. The trap: ARENA starts and ends with A, so it looks like it reads the same both ways. It doesn't. Backwards it is ANERA, not ARENA.
- b: incorrect — AANREA gives A + ANREA. The middle letters are in the wrong order. Reversed ARENA reads A-N-E-R-A, so E must come before R. This option swaps them, which is a common slip when you reverse a word in your head instead of letter by letter.
- c: incorrect — AANEAR gives A + ANEAR. The last two letters are swapped. The correct reversal ends in R-A, because R is the second letter of ARENA and A is the first. This option reads the start of ARENA forwards (A, then R) instead of backwards.
- d: correct — Reverse ARENA to get ANERA, then put A in front to get AANERA. This is the same rule that turns POT into ATOP and TRAP into APART.
How to eliminate
Work out the rule from POT → ATOP alone. Strip the leading A and you get TOP, which is POT backwards. Then confirm it on TRAP → APART in a glance.
You don't need to write the whole answer. Compare the options one letter at a time against A + reversed ARENA:
- All four options start with AA. The prefix doesn't separate them.
- Third letter: reversed ARENA starts A, N, so the third letter must be N. AARENA has R. It is out.
- Fourth letter: the next letter backwards is E. AANREA has R. It is out.
- Fifth letter: the next letter is R. AANEAR has A. It is out.
- Only AANERA is left.
Safety tip: reverse the word by reading the positions back (5-4-3-2-1). Don't do it by sight. Words that start and end with the same letter, like ARENA, are built to trick a quick visual reversal.
Time: about 20–30 seconds. Attempt it first. It is a sure mark.
Know more
Letter coding: find the operation, then apply it in order
Most word-coding questions use one or two simple operations. Find the rule from the first example, check it on the second, then apply it to the new word.
| Operation | Example | How to spot it |
|---|---|---|
| Reverse the word | POT → TOP | Same letters, opposite order |
| Add a fixed letter | TOP → ATOP | Code is one letter longer |
| Shift each letter by +k | CAT → DBU (+1) | Same length, each letter moved along the alphabet |
| Opposite letter (A↔Z, B↔Y) | CAT → XZG | Each pair of positions adds up to 27 |
| Swap pairs of letters | CODE → OCED | Neighbouring letters change places |
Order matters. Here, "reverse, then put A in front" works. "Put A in front, then reverse" does not. When there are two operations, always test the order on the given example.
Reverse by position, not by sight. Number the letters and read them backwards. This matters most for words that start and end with the same letter (ARENA, LEVEL-like words), where a careless reversal looks right.
Worked variant. Suppose 'MAT' is written ETAM and 'DOG' is written EGOD. Strip the leading E: TAM and GOD, which are MAT and DOG reversed. The rule is E + reversed word. So 'RIVER' → reversed REVIR → EREVIR? Read the positions back: R(5) E(4) V(3) I(2) R(1) = REVIR. Add E in front: EREVIR.
Fast check: decode your answer back to the original word before you mark it.