ReasoningHardIBPS 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: tiger zebra camel horse donkey mule. Which of the following is Step IV?

  1. A. camel donkey horse tiger zebra mule
  2. B. donkey camel horse mule tiger zebra
  3. C. camel donkey horse mule zebra tiger
  4. D. camel donkey horse mule tiger zebra

Correct answer: D. camel donkey horse mule tiger zebra

Working step by step: Step I: camel tiger zebra horse donkey mule; Step II: camel donkey tiger zebra horse mule; Step III: camel donkey horse tiger zebra mule; Step IV: camel donkey horse mule tiger zebra. So Step IV is 'camel donkey horse mule tiger zebra'.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: tiger zebra camel horse donkey mule. निम्नलिखित में से कौन-सा चरण IV है?

  1. A. camel donkey horse tiger zebra mule
  2. B. donkey camel horse mule tiger zebra
  3. C. camel donkey horse mule zebra tiger
  4. D. camel donkey horse mule tiger zebra

उत्तर: D. चरण-दर-चरण हल करने पर: चरण I: camel tiger zebra horse donkey mule; चरण II: camel donkey tiger zebra horse mule; चरण III: camel donkey horse tiger zebra mule; चरण IV: camel donkey horse mule tiger zebra. इसलिए चरण IV 'camel donkey horse mule tiger zebra' है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic