UPSC CSE 2018 CSAT · Question 22

UPSC CSE 2018 CSAT question on Coding Decoding RAMON DINESH

CSAT is a qualifying paper.

If RAMON is written as 12345 and DINESH as 675849, then HAMAM will be written as

  1. 92233
  2. 92323
  3. 93322
  4. 93232
Show answer

Answer: B. 92323

Solution

  1. From RAMON = 12345, read the letter–digit pairs: R = 1, A = 2, M = 3, O = 4 and N = 5.
  1. From DINESH = 675849, obtain the remaining needed mapping: H = 9. (The other pairs confirm that each letter has a fixed code.)
  1. Replace each letter of HAMAM in its original order:
  • H → 9.
    • A → 2.
    • M → 3.
    • A → 2.
    • M → 3.
  1. Thus, HAMAM = 92323. As a check, the repeated A's occupy positions 2 and 4 and both become 2; the repeated M's occupy positions 3 and 5 and both become 3.

Why the other options are wrong

  • (a) 92233: the third position incorrectly uses 2 for M, which is coded as 3.
  • (c) 93322: the second position incorrectly uses 3 for A, which is coded as 2.
  • (d) 93232: the second position incorrectly uses 3 for A, and the third uses 2 for M.

Quick trick

  • Extract only the three required codes, H = 9, A = 2 and M = 3, then substitute directly.

Remember

In a simple substitution code, every occurrence of the same letter must produce the same digit.

Hence the answer is (b).

Share
Ask Atlas (4) for similar questions
  1. 2025 · Q67 Coding Decoding FRANCE Germany — Same idea: letters mapped to digits consistently, with shared letters forcing the same digit.
  2. 2020 · Q57 Coding Decoding GHI DEF — Letters converted to digits, and you must deduce each letter's code from given examples.
  3. 2024 · Q80 Coding Decoding Letters Represent — Letters stand for unknown digits, and you deduce the value of each letter.
  4. 2026 · Q47 Coding Decoding ZERO ADSN — Letter-by-letter code deduced from one worked example, then applied to a new word.

← Full UPSC CSE 2018 CSAT paper · All Logical reasoning and analytical ability questions