Join 60,000+ competitive exam aspirants
In a certain code language, ‘VALUES’ is coded as ‘13579$’ and ‘VALUED’ is coded as ‘573#91’. What is the code for ‘D’ in the given code language?
$
9
1
Identify common characters in the two words and map them to their corresponding symbols by comparing the position-wise encoding.
Identify common characters in the two words and map them to their corresponding symbols by comparing the position-wise encoding.
Analyze the common letters
Word 1: VALUES (V, A, L, U, E, S) maps to (1, 3, 5, 7, 9, ). \text{Word} 2: VALUED (V, A, L, U, E, D) maps to (5, 7, 3, #, 9, 1). \text{Wait}, \text{checking specific character alignment}: V=1, A=3, L=5, U=7, E=9, S= vs V=5, A=7, L=3, U=#, E=9, D=1.
Evaluate mapping contradictions and identify the pattern
Since direct position coding shows V as 1 in VALUES and 5 in VALUED, this is a substitution cipher where specific characters are assigned symbols based on the set. Comparing VALUES (V-A-L-U-E-S) = 1-3-5-7-9-$ and VALUED (V-A-L-U-E-D) = 5-7-3-#-9-1. The common letters V, A, L, U, E appear in both. Letter D appears only in VALUED. The unique symbol in the second string (VALUED) that does not appear in the first (VALUES) is #.
B: $ is assigned to S in the word VALUES. C: 9 is assigned to E in both words. D: 1 appears as V in VALUES and D in VALUED, but based on the unique symbol isolation, # specifically represents D.
A is correct because # is the unique symbol present in the code for VALUED that does not exist in the code for VALUES, corresponding to the unique letter D.
When codes for the same letter differ across strings, look for unique symbols or process-of-elimination tables rather than fixed 1-to-1 letter mapping.