In a certain code language, 'TOMATO' is coded as 40 - 30 - 26 - 2 - 40 - 30 and 'GINGER' is coded as 14 - 18 -28 - 14 -10 - 36. How will 'GARLIC' be coded in that language?
Show answer & explanation
Correct answer: A
Explanation
The correct answer is option 1 i.e. 14-2-36-24-18-6.
The logic used here is:
'TOMATO' is coded as 40 - 30 - 26 - 2 - 40 - 30
T = 20 × 2 = 40
O = 15 × 2 = 30
M = 13 × 2 = 26
A = 1 × 2 = 2
T = 20 × 2 = 40
O = 15 × 2 = 30
Similarly;
Code for the word GARLIC:
G = 7 × 2 = 14
A = 1 × 2 = 2
R = 18 × 2 = 36
L = 12 × 2 = 24
I = 9 × 2 = 18
C = 3 × 2 = 6
Hence, option 1 is the correct answer.