ReasoningHardIBPS PO Mains · SBI PO Mains · SSC CGL Tier 2
Input–output: A machine rearranges a line of words. In each step the machine takes the word with the largest number of letters among the words not yet arranged (if two words are equally long, the one that comes first in dictionary order) and moves it to the left, just after the words already arranged. The other words keep their relative order. Input: violet orchid gold stone cloud bridge. Which of the following is Step III of this input?
- A. bridge orchid violet cloud gold stone
- B. bridge orchid violet gold stone cloud
- C. gold cloud stone violet orchid bridge
- D. bridge violet orchid gold stone cloud
Correct answer: B. bridge orchid violet gold stone cloud
Working the rule step by step: Step I: bridge violet orchid gold stone cloud; Step II: bridge orchid violet gold stone cloud; Step III: bridge orchid violet gold stone cloud. So Step III is 'bridge orchid violet gold stone cloud'.
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन अव्यवस्थित शब्दों में से सबसे अधिक अक्षरों वाला शब्द (यदि दो शब्द बराबर लंबे हों तो शब्दकोश क्रम में पहले आने वाला) लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है। बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। इनपुट: violet orchid gold stone cloud bridge। इस इनपुट का चरण III निम्नलिखित में से कौन-सा है?
- A. bridge orchid violet cloud gold stone
- B. bridge orchid violet gold stone cloud
- C. gold cloud stone violet orchid bridge
- D. bridge violet orchid gold stone cloud
उत्तर: B. नियम को चरण-दर-चरण लगाने पर: चरण I: bridge violet orchid gold stone cloud; चरण II: bridge orchid violet gold stone cloud; चरण III: bridge orchid violet gold stone cloud। इसलिए चरण III 'bridge orchid violet gold stone cloud' है।
Practise more Data Sufficiency and Input–Output questionsData Sufficiency and Input–Output: notes and key points
More Data Sufficiency and Input–Output questions
- Input–output: A machine rearranges a line of words. In each step the machine scans the line once from left to right, comparing each pair…
- Input–output: A machine rearranges a line of words. In each step the machine takes the word that comes first in dictionary order among the…
- Input–output: A machine rearranges a line of words. In each step the machine takes the word with the largest number of letters among the…
- Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it…
- Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it…
- Input–output: A machine rearranges a line of words and numbers. Step I: the numbers are rearranged in descending order, occupying only the…