Join 60,000+ competitive exam aspirants
In a certain code language, 'BEAR' is coded as '7912' and 'EARN' is coded as '1296'. What is the code for 'N' in the given code language?
1
6
9
2
6
Identify common letters in both words; if a letter and its corresponding number exist in both strings, that mapping is constant.
Identify common letters in both words; if a letter and its corresponding number exist in both strings, that mapping is constant.
Analyze the two words
Word 1: 'BEAR' = '7912'. Word 2: 'EARN' = '1296'.
Identify common characters
The letters {E, A, R} are common to both 'BEAR' and 'EARN'. The digits {1, 2, 9} are present in both codes '7912' and '1296'. Therefore, the set {E, A, R} maps to {1, 2, 9}.
Deduce the remaining letter
In 'EARN' (1296), the letters are E, A, R, N. Since E, A, and R correspond to the digits 1, 2, and 9, the remaining letter 'N' must correspond to the only remaining digit in the code '1296', which is 6.
A: 7 is assigned to B; C: 9 is one of {E, A, R}; D: 1 is one of {E, A, R}.
B is correct because the common letters in BEAR and EARN (E, A, R) map to the common digits 1, 2, and 9, leaving N to correspond with the remaining digit 6.
In coding questions involving two words, always isolate the unique letters to identify their specific codes quickly.