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: pear kiwi apple mango fig. In Step II, which element is 2nd from the right end?

  1. A. pear
  2. B. mango
  3. C. fig
  4. D. kiwi

Correct answer: D. kiwi

Step I: apple pear kiwi mango fig; Step II: apple fig pear kiwi mango; Step III: apple fig kiwi pear mango; Step IV: apple fig kiwi mango pear. In Step II ('apple fig pear kiwi mango'), the 2nd element from the right is kiwi.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: pear kiwi apple mango fig. चरण II में दाएँ छोर से दूसरा तत्व कौन-सा है?

  1. A. pear
  2. B. mango
  3. C. fig
  4. D. kiwi

उत्तर: D. चरण I: apple pear kiwi mango fig; चरण II: apple fig pear kiwi mango; चरण III: apple fig kiwi pear mango; चरण IV: apple fig kiwi mango pear. चरण II ('apple fig pear kiwi mango') में दाएँ छोर से दूसरा तत्व kiwi है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic