Join 60,000+ competitive exam aspirants
In a certain code language, ‘door closed now’ is coded as ‘vt xg uk’ and ‘school is closed’ is coded as ‘cw uk ne’. How is ‘closed’ coded in the given language? (All the codes are two letter codes only.)
ne
xg
vt
uk
uk
Identify the common word between the two sentences and find the corresponding common code in their assigned sets.
Identify the common word between the two sentences and find the corresponding common code in their assigned sets.
Analyze Sentence 1
Sentence: 'door closed now' is coded as 'vt xg uk'. Each word corresponds to one of these three codes.
Analyze Sentence 2
Sentence: 'school is closed' is coded as 'cw uk ne'. Each word corresponds to one of these three codes.
Identify Commonality
The only word common in both sentences is 'closed'. Looking at the code sets {vt, xg, uk} and {cw, uk, ne}, the only common code is 'uk'.
A: 'ne' is assigned to either 'school' or 'is', B: 'xg' is assigned to either 'door' or 'now', C: 'vt' is assigned to either 'door' or 'now'.
D is correct because 'uk' is the only code present in both 'vt xg uk' and 'cw uk ne', which corresponds to the common word 'closed'.
In coding-decoding questions involving sentences, always focus on the intersection of words first, as it drastically reduces search time for the common code.