ReasoningVery hardIBPS 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 that comes first in dictionary order among the words not yet arranged and moves it to the left, just after the words already arranged on the left, in odd-numbered steps; in even-numbered steps it takes the word that comes last in dictionary order among the words not yet arranged and moves it to the right, just before the words already arranged on the right. The other words keep their relative order. Input: jungle elephant lemon market umbrella anchor mango. Which of the following is Step III of this input?

  1. A. anchor elephant jungle lemon market mango umbrella
  2. B. anchor jungle elephant lemon market mango umbrella
  3. C. anchor elephant jungle lemon mango market umbrella
  4. D. umbrella market jungle elephant lemon mango anchor

Correct answer: A. anchor elephant jungle lemon market mango umbrella

Working the rule step by step: Step I: anchor jungle elephant lemon market umbrella mango; Step II: anchor jungle elephant lemon market mango umbrella; Step III: anchor elephant jungle lemon market mango umbrella. So Step III is 'anchor elephant jungle lemon market mango umbrella'.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन, विषम संख्या वाले चरणों में, उन शब्दों में से जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को बाईं ओर, पहले से बाईं ओर व्यवस्थित शब्दों के ठीक बाद, रख देती है; सम संख्या वाले चरणों में वह अव्यवस्थित शब्दों में से शब्दकोश क्रम में सबसे बाद में आने वाले शब्द को दाईं ओर, पहले से दाईं ओर व्यवस्थित शब्दों के ठीक पहले, रख देती है। बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। इनपुट: jungle elephant lemon market umbrella anchor mango। इस इनपुट का चरण III निम्नलिखित में से कौन-सा है?

  1. A. anchor elephant jungle lemon market mango umbrella
  2. B. anchor jungle elephant lemon market mango umbrella
  3. C. anchor elephant jungle lemon mango market umbrella
  4. D. umbrella market jungle elephant lemon mango anchor

उत्तर: A. नियम को चरण-दर-चरण लगाने पर: चरण I: anchor jungle elephant lemon market umbrella mango; चरण II: anchor jungle elephant lemon market mango umbrella; चरण III: anchor elephant jungle lemon market mango umbrella। इसलिए चरण III 'anchor elephant jungle lemon market mango umbrella' है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic