ReasoningVery hardSSC CGL Tier 2 · IBPS PO Mains

Input–output: A machine rearranges a line of numbers and words. In every step it takes the word that comes first in dictionary order among the words not yet arranged and moves it to the left end, just after the words already placed there; it then takes the largest number not yet arranged and moves it to the right end, just before the numbers already placed there. The other elements keep their relative order. Step II of an input is: fig kiwi 25 pear 48 19 plum 63 72. Which of the following is Step III of the same input?

  1. A. fig kiwi pear 25 19 plum 48 63 72
  2. B. fig kiwi pear plum 19 25 48 63 72
  3. C. fig kiwi pear 72 plum 63 48 25 19
  4. D. fig kiwi 25 pear 48 19 plum 63 72

Correct answer: A. fig kiwi pear 25 19 plum 48 63 72

In Step II the words fig and kiwi are on the left and 63, 72 on the right. Step III moves pear to the left (next in dictionary order) and 48 (largest of 25, 48, 19) to the right, just before 63.

हिंदी में

इनपुट-आउटपुट: एक मशीन संख्याओं और शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में वह अभी तक व्यवस्थित न हुए शब्दों में शब्दकोश में सबसे पहले आने वाला शब्द लेती है और उसे बाएँ सिरे पर, पहले से रखे शब्दों के ठीक बाद रखती है; फिर वह अभी तक व्यवस्थित न हुई सबसे बड़ी संख्या लेती है और उसे दाएँ सिरे पर, पहले से रखी संख्याओं के ठीक पहले रखती है। अन्य अवयव अपना सापेक्ष क्रम बनाए रखते हैं। किसी इनपुट का चरण II है: fig kiwi 25 pear 48 19 plum 63 72. उसी इनपुट का चरण III निम्नलिखित में से कौन-सा है?

  1. A. fig kiwi pear 25 19 plum 48 63 72
  2. B. fig kiwi pear plum 19 25 48 63 72
  3. C. fig kiwi pear 72 plum 63 48 25 19
  4. D. fig kiwi 25 pear 48 19 plum 63 72

उत्तर: A. चरण II में शब्द fig और kiwi बाईं ओर तथा 63, 72 दाईं ओर हैं। चरण III में pear बाईं ओर जाता है (शब्दकोश में अगला) और 48 (25, 48, 19 में सबसे बड़ी) दाईं ओर, 63 के ठीक पहले जाती है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic