If in a certain code language, AIR is written as 31120, then how will GAS be coded in that language?
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → 9321
The rule is found from the given word first. In AIR = 31120, each letter is replaced by its place in the alphabet plus 2, and the numbers are written side by side:
A (1) + 2 = 3, I (9) + 2 = 11, R (18) + 2 = 20, giving 3 | 11 | 20 = 31120
The same rule for GAS:
G (7) + 2 = 9, A (1) + 2 = 3, S (19) + 2 = 21, giving 9 | 3 | 21 = 9321