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: west south north east centre. Which step of this input reads 'centre east north west south'?

  1. A. Step II
  2. B. Step III
  3. C. Step IV
  4. D. There is no such step

Correct answer: B. Step III

Step I: centre west south north east; Step II: centre east west south north; Step III: centre east north west south; Step IV: centre east north south west. The arrangement 'centre east north west south' appears at Step III.

हिंदी में

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

  1. A. चरण II
  2. B. चरण III
  3. C. चरण IV
  4. D. ऐसा कोई चरण नहीं है

उत्तर: B. चरण I: centre west south north east; चरण II: centre east west south north; चरण III: centre east north west south; चरण IV: centre east north south west. व्यवस्था 'centre east north west south' चरण III में आती है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic