In a code language 256 means 'you are good', 637 means 'we are bad', 358 means…
2024
In a code language 256 means 'you are good', 637 means 'we are bad', 358 means 'good and bad'. Find the code for 'and'.
- A.
8
- B.
9
- C.
5
- D.
6
Attempted by 272 students.
Show answer & explanation
Correct answer: A
Solution:
Use overlaps between the given coded phrases to identify which digit maps to which word.
Compare 256 ('you are good') and 358 ('good and bad'): the common digit is 5, so 'good' = 5.
Compare 637 ('we are bad') and 358 ('good and bad'): the common digit is 3, so 'bad' = 3.
From 358, after removing digits for 'good' (5) and 'bad' (3), the remaining digit is 8, so 'and' = 8.
As a check, 256 and 637 share digit 6, so 'are' = 6; the remaining digits 2 and 7 correspond to 'you' and 'we' respectively.
Final mapping:
'good' = 5
'bad' = 3
'and' = 8
'are' = 6, 'you' = 2, 'we' = 7 (optional extra mappings)