ReasoningEasyIBPS PO · SBI PO · IBPS Clerk

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 words not yet arranged and moves it to the left, just after the words already arranged; the other words keep their relative order. The machine stops when all the words are arranged. Input: rose lily daisy tulip aster. Which of the following is Step II?

  1. A. aster daisy rose lily tulip
  2. B. aster rose lily daisy tulip
  3. C. aster daisy lily rose tulip
  4. D. aster daisy rose tulip lily

Correct answer: A. aster daisy rose lily tulip

Working step by step: Step I: aster rose lily daisy tulip; Step II: aster daisy rose lily tulip; Step III: aster daisy lily rose tulip. So Step II is 'aster daisy rose lily tulip'.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: rose lily daisy tulip aster. निम्नलिखित में से कौन-सा चरण II है?

  1. A. aster daisy rose lily tulip
  2. B. aster rose lily daisy tulip
  3. C. aster daisy lily rose tulip
  4. D. aster daisy rose tulip lily

उत्तर: A. चरण-दर-चरण हल करने पर: चरण I: aster rose lily daisy tulip; चरण II: aster daisy rose lily tulip; चरण III: aster daisy lily rose tulip. इसलिए चरण II 'aster daisy rose lily tulip' है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic