Join 60,000+ competitive exam aspirants
If 'APPLE' is coded as 'ELPPA', how is 'MANGO' coded?
OGNAM
OMGAN
OGNMA
ONGAM
OGNAM
Observe the word 'APPLE' and its code 'ELPPA'; the pattern is a simple reversal of the entire string from last to first.
Observe the word 'APPLE' and its code 'ELPPA'; the pattern is a simple reversal of the entire string from last to first.
Analyze the given pattern
The word APPLE (1:A, 2:P, 3:P, 4:L, 5:E) is reversed to get ELPPA (5:E, 4:L, 3:P, 2:P, 1:A).
Apply the reversal to MANGO
Following the same reverse-order logic, MANGO (1:M, 2:A, 3:N, 4:G, 5:O) is rearranged by taking the letters from 5 to 1: O, G, N, A, M.
B: OMGAN is incorrect as the letters are incorrectly reordered; C: OGNMA swaps the last two letters; D: ONGAM is incorrect because it replaces the sequence incorrectly.
A is correct because the code for MANGO is obtained by reversing the sequence of letters in the original word, resulting in OGNAM.
When encountering simple coding problems, first check for basic operations like reversal, shifting by a constant, or swapping pairs before looking for complex numerical substitutions.