In a certain code language, ‘RICE’ is coded as ‘2759’ and ‘MICE’ is coded as ‘7395’. What is the code for ‘M’ in the given code language?
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 3
Here the digits are not in the order of the letters (I would be 7 in one word and 3 in the other), so compare the two words as sets: letters common to both words share the digits common to both codes.
RICE = R, I, C, E and its code has 2, 7, 5, 9
MICE = M, I, C, E and its code has 7, 3, 9, 5
Common letters I, C, E take the common digits 7, 5, 9
The letter left in MICE is M and the digit left in its code is 3
So M is coded as 3 (and R as 2).