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

Input–output: A machine rearranges a line of words and numbers. In each step, it moves the word that comes first in dictionary order among the words not yet arranged to the right end of the line, and then moves the largest number not yet arranged to the right end, just after that word. Input: 58 gate 17 bird 93 lamp 42 echo 26 fan. In Step 3, which element is fourth from the left end?

  1. A. 26
  2. B. 42
  3. C. 93
  4. D. bird

Correct answer: A. 26

Step 1: 58 gate 17 lamp 42 echo 26 fan bird 93. Step 2: gate 17 lamp 42 26 fan bird 93 echo 58. Step 3: gate 17 lamp 26 bird 93 echo 58 fan 42. The fourth element is 26.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों और संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में वह अभी तक व्यवस्थित न किए गए शब्दों में से शब्दकोश क्रम में सबसे पहले आने वाले शब्द को पंक्ति के दाएँ छोर पर ले जाती है, और फिर अभी तक व्यवस्थित न की गई सबसे बड़ी संख्या को उस शब्द के ठीक बाद दाएँ छोर पर ले जाती है। इनपुट: 58 gate 17 bird 93 lamp 42 echo 26 fan. चरण 3 में बाएँ छोर से चौथा तत्व कौन-सा है?

  1. A. 26
  2. B. 42
  3. C. 93
  4. D. bird

उत्तर: A. चरण 1: 58 gate 17 lamp 42 echo 26 fan bird 93। चरण 2: gate 17 lamp 42 26 fan bird 93 echo 58। चरण 3: gate 17 lamp 26 bird 93 echo 58 fan 42। चौथा तत्व 26 है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic