In a certain code language 'PAYMENT' is coded as '6101814111520 ' and 'JUSTIFY' is coded as '11141519151620'. How will 'COMPARE' be coded in that language?
Show answer & explanation
Correct answer: A
Explanation
The correct answer is Option 1 i.e 681013101113.
The logic followed here is:
1.) All the letters of the given word are arranged into alphabetical order.
2.) Add 5 to the positional value of first three letters and subtract 5 from the positional value of last three letters, while the middle one remain unchanged.
PAYMENT is coded as 6101814111520
PAYMENT → AEMNPTY
A(1) + 5 = 6
E(5) + 5 = 10
M(13) + 5 = 18
N(14) + 0 = 14
P(16) – 5 = 11
T(20) – 5 = 15
Y(25) – 5 = 20
JUSTIFY is coded as 11141519151620
JUSTIFY → FIJSTUY
F(6) + 5 = 11
I(9) + 5 = 14
J(10) + 5 = 15
S(19) = 19
T(20) – 5 = 15
U(21) – 5 = 16
Y(25) – 5 = 20
Similarly,
COMPARE → ACEMPOR
A(1) + 5 = 6
C(3) + 5 = 8
E(5) + 5 = 10
M(13) = 13
O(15) – 5 = 10
P(16) – 5 = 11
R(18) – 5 = 13
Hence, the correct answer is 681013101113.