Q10. In a certain code TEACHER is written as XWPBRWN and HIGHLY is written as…
2025
Q10. In a certain code TEACHER is written as XWPBRWN and HIGHLY is written as RSNRDZ, then how can CHARITY be written in that code?
- A.
BRPNSXZ
- B.
BRPMSDZ
- C.
BRPMSZB
- D.
BRPNSXN
Show answer & explanation
Correct answer: A
In word/letter-based coding-decoding, each letter of a word is replaced by a fixed corresponding letter under a consistent substitution rule. When two coded words share a common letter, that shared letter's code must match in both words -- this cross-check lets you build one combined letter-to-letter mapping table from multiple examples, which can then be applied to any new word built from the same letters.
T | E | A | C | H | E | R |
|---|---|---|---|---|---|---|
X | W | P | B | R | W | N |
H | I | G | H | L | Y |
|---|---|---|---|---|---|
R | S | N | R | D | Z |
List the letters of CHARITY in order: C, H, A, R, I, T, Y.
Look up each letter's own code from the combined mapping above: C to B, H to R, A to P, R to N, I to S, T to X, Y to Z.
Write the codes in the same order to get the coded word: B R P N S X Z.
As an independent check, the derived code BRPNSXZ has the same seven letters as CHARITY, and H's code (R) matches consistently across both TEACHER and HIGHLY, confirming the mapping table is reliable.
Therefore, CHARITY is coded as BRPNSXZ.