Join 60,000+ competitive exam aspirants
In a certain code language, ‘HOPE’ is coded as ‘7395’ and ‘OURS’ is coded as ‘6582’. What is the code for ‘O’ in the given code language?
7
6
9
5
5
Identify common letters present in both words and match them with the common digit in their respective code strings.
Identify common letters present in both words and match them with the common digit in their respective code strings.
Analyze given strings
Word HOPE is coded as 7395 and Word OURS is coded as 6582.
Compare common letters
Find the letter present in both words: H(O)PE and (O)URS. The common letter is O.
Map codes to common letters
Compare the numeric codes 7395 and 6582. The common digit in both sequences is 5. Therefore, O corresponds to 5.
A: 7 is assigned to H in HOPE, B: 6 is assigned to U in OURS, C: 9 is assigned to P in HOPE.
D is correct because the letter O is the only common character in both HOPE and OURS, and 5 is the only common digit in their respective codes, 7395 and 6582.
When comparing two strings to find a specific code, always isolate the repeating character first to minimize calculation time.