Join 60,000+ competitive exam aspirants
In a certain code language, 'WHELP' is coded as '24681' and 'HELPS' is coded as '12674'. What is the code for 'W' in the given code language?
1
4
2
8
8
Identify common letters between the two words to determine their respective numeric codes, then isolate the unique letter.
Identify common letters between the two words to determine their respective numeric codes, then isolate the unique letter.
Mapping the shared letters
Word 1: W H E L P = 2 4 6 8 1. Word 2: H E L P S = 1 2 6 7 4. The letters H, E, L, P are common to both words.
Isolating the unique letters
In W H E L P (24681), the letter 'W' is unique. In H E L P S (12674), the letter 'S' is unique. The digits 2, 4, 6, 1 are present in both codes. The digit '8' is unique to W H E L P, and the digit '7' is unique to H E L P S. Therefore, W corresponds to 8.
A: 1 corresponds to H/E/L/P based on shared codes, B: 2 corresponds to one of the shared letters, C: 4 corresponds to one of the shared letters.
D is correct because by comparing the strings 'WHELP' (24681) and 'HELPS' (12674), we find that 2, 4, 6, 1 are shared digits representing H, E, L, P, leaving 8 as the unique code for W.
When comparing codes, always subtract the set of common letters from the total sets to identify the specific value for the remaining character.