ReasoningVery hardInfosys · Cognizant
In a certain code, 'red apple tree' is written as '38 52 71', 'tree house' is written as '71 94' and 'house of apple' is written as '52 66 94'. Which word is coded by '38'?
- A. tree
- B. red
- C. apple
- D. house
Correct answer: B. red
'apple' = 52 (statements 1 and 3) and 'tree' = 71 (statements 1 and 2); the only code left in statement 1 is 38, which stands for red.
More Coding–Decoding questions
- In a certain code, every letter is replaced by the letter three places before it in the alphabet. How is FLAME coded?
- In a code, the value of a word is the sum of the alphabetical positions of its letters, so SUN has value 54. What is the value of MOON?
- In a code, a word is first reversed and then each letter is shifted one step forward. How is BRAIN coded?
- In a code, letters in odd positions are shifted one step forward and letters in even positions one step backward. How is MOTHER coded?
- In a code, each letter is replaced by its opposite letter in the alphabet (A↔Z, B↔Y, ...) and the word is then written in reverse order…
- In a certain code, 'sun moon star' is written as 'ap qo ru', 'moon star cloud' as 'qo ru dy', and 'cloud sun rain' as 'dy ap ex' (codes in…