Join 60,000+ competitive exam aspirants
In a certain code language, ‘CMPX’ is coded as ‘EONV’ and ‘WBFK’ is coded as ‘YDDI’. What is the code for ‘XAOD’ in the given language?
XBMC
ZCMB
YDND
XDOD
ZCMB
Observe the pattern by checking the first and last letters; usually, +2 or -2 shifts on the alphabetical positions resolve the sequence instantly.
Observe the pattern by checking the first and last letters; usually, +2 or -2 shifts on the alphabetical positions resolve the sequence instantly.
Analyze the coding pattern
Compare the letters of the given pairs: CMPX → EONV. C(+2)=E, M(+2)=O, P(-2)=N, X(-2)=V. The pattern is +2, +2, -2, -2.
Verify pattern with the second word
Apply the pattern (+2, +2, -2, -2) to WBFK: W(+2)=Y, B(+2)=D, F(-2)=D, K(-2)=I. This results in YDDI, which matches the prompt.
Apply pattern to target word
Apply the rule (+2, +2, -2, -2) to XAOD: X(+2)=Z, A(+2)=C, O(-2)=M, D(-2)=B. The resulting code is ZCMB.
A: XBMC is wrong because the second letter should be C, not B. C: YDND is wrong because it uses incorrect mapping for the 3rd and 4th letters. D: XDOD is wrong as it fails to apply the shift logic to the first three letters.
B is correct because applying the +2, +2, -2, -2 letter shift pattern to XAOD results in ZCMB.
In coding-decoding questions, always check the first two and last two letters first to quickly identify if the pattern involves fixed shifts or reverse orderings.