ReasoningModerateIBPS PO Mains · SBI PO Mains · SSC CGL Tier 2

Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it takes the largest number among those not yet arranged and moves it to the extreme left end block (just after the numbers already placed there); in even-numbered steps it takes the word that comes first in dictionary order among the words not yet arranged and moves it to the right end block (just before the words already placed there). If one kind runs out, the machine uses the other kind in the remaining steps. The other elements keep their relative order. Input: mango harvest 21 42 pen 60. Which of the following is Step III of this input?

  1. A. 60 42 mango 21 pen harvest
  2. B. 21 42 mango pen 60 harvest
  3. C. 60 42 21 pen mango harvest
  4. D. 60 mango 21 42 pen harvest

Correct answer: A. 60 42 mango 21 pen harvest

Working the rule step by step: Step I: 60 mango harvest 21 42 pen; Step II: 60 mango 21 42 pen harvest; Step III: 60 42 mango 21 pen harvest. So Step III is '60 42 mango 21 pen harvest'.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों और संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन एक अवयव को व्यवस्थित करती है। विषम चरणों में वह अव्यवस्थित संख्याओं में से सबसे बड़ी संख्या लेकर उसे बाएँ छोर के खंड में (वहाँ पहले रखी संख्याओं के ठीक बाद) रख देती है; सम चरणों में वह अव्यवस्थित शब्दों में से शब्दकोश क्रम में सबसे पहले आने वाला शब्द लेकर उसे दाएँ छोर के खंड में (वहाँ पहले रखे शब्दों के ठीक पहले) रख देती है। यदि किसी एक प्रकार के अवयव समाप्त हो जाएँ तो शेष चरणों में मशीन दूसरे प्रकार का प्रयोग करती है। बाकी अवयव अपना सापेक्ष क्रम बनाए रखते हैं। इनपुट: mango harvest 21 42 pen 60। इस इनपुट का चरण III निम्नलिखित में से कौन-सा है?

  1. A. 60 42 mango 21 pen harvest
  2. B. 21 42 mango pen 60 harvest
  3. C. 60 42 21 pen mango harvest
  4. D. 60 mango 21 42 pen harvest

उत्तर: A. नियम को चरण-दर-चरण लगाने पर: चरण I: 60 mango harvest 21 42 pen; चरण II: 60 mango 21 42 pen harvest; चरण III: 60 42 mango 21 pen harvest। इसलिए चरण III '60 42 mango 21 pen harvest' है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic