In a certain code language, 'PLAY' is coded as ‘54’, and ‘HAPPY’ is coded as ‘66’. How will ‘SMILE' be coded in that language?
Show answer & explanation
Correct answer: D
Explanation
The correct answer is Option 4 i.e. 58.
The logic used here is:
'PLAY' is coded as ‘54’
PLAY = 16 + 12 + 1 + 25 = 54
‘HAPPY’ is coded as ‘66’
HAPPY = 8 + 1 + 16 + 16 + 25 = 66
Similarly;
Code for the word SMILE:
SMILE = 19 + 13 + 9 + 12 + 5 = 58
Hence, option 4 is the correct answer.