In a certain code language, '456' is written as 'sky is high', '678' is written as 'sky has dark', and '147' is written as 'star is dark'. What is the code for the word 'star' in that language?
'456' ==> 'sky is high'
'678' ==> 'sky has dark'
'147' ==> 'star is dark'
In the first and second statements, '6' is common. So this will be coded as 'sky'.
In the first and third statements, '4' is common. So this will be coded as 'is'.
In the second and third statements, '7' is common. So this will be coded as 'dark'.
Now in the third statement, '1' is remaining which will be coded as 'star'.
So '1' is the code for the word 'star' in that language.
Create a FREE account and get: