Join 60,000+ competitive exam aspirants
In a certain code language, 'climb the mountains' is coded as 'js bg md' and 'climb the tree' is coded as 'bg cx js'. What is the code for 'tree' in the given code language?
bg
cx
js
md
cx
Compare common words across both given statements to isolate individual word codes instantly.
Compare common words across both given statements to isolate individual word codes instantly.
Analyze Statement 1
climb the mountains is coded as js bg md
Analyze Statement 2
climb the tree is coded as bg cx js
Compare and Isolate Common Codes
The common words in both sentences are climb and the. Their corresponding common codes are js and bg. Therefore, the remaining unique word tree in Statement 2 corresponds to the remaining unique code cx.
A: bg represents either climb or the, not tree. C: js represents either climb or the, not tree. D: md represents mountains in the first statement, not tree.
B is correct because comparing the common words climb and the in both statements reveals their codes as js and bg, leaving cx as the exclusive code for tree.
In message-oriented coding questions, always list out sentences and find common terms across multiple pairs to eliminate ambiguity quickly.