ReasoningHardIBPS PO · SBI PO · IBPS Clerk

Input–output: A machine rearranges a line of numbers. In each step, the machine takes the largest number not yet arranged and moves it to the left, just after the numbers already arranged; the other numbers keep their relative order. The machine stops when all the numbers are arranged. Input: 18 45 73 62 90 27 51. In Step III, which element is 2nd from the right end?

  1. A. 45
  2. B. 51
  3. C. 27
  4. D. 18

Correct answer: C. 27

Step I: 90 18 45 73 62 27 51; Step II: 90 73 18 45 62 27 51; Step III: 90 73 62 18 45 27 51; Step IV: 90 73 62 51 18 45 27; Step V: 90 73 62 51 45 18 27; Step VI: 90 73 62 51 45 27 18. In Step III ('90 73 62 18 45 27 51'), the 2nd element from the right is 27.

हिंदी में

इनपुट-आउटपुट: एक मशीन संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन अभी तक व्यवस्थित न की गई सबसे बड़ी संख्या को लेकर बाईं ओर, पहले से व्यवस्थित संख्याओं के ठीक बाद, रख देती है; बाकी संख्याएँ अपना सापेक्ष क्रम बनाए रखती हैं। जब सभी संख्याएँ व्यवस्थित हो जाती हैं तो मशीन रुक जाती है। इनपुट: 18 45 73 62 90 27 51. चरण III में दाएँ छोर से दूसरा तत्व कौन-सा है?

  1. A. 45
  2. B. 51
  3. C. 27
  4. D. 18

उत्तर: C. चरण I: 90 18 45 73 62 27 51; चरण II: 90 73 18 45 62 27 51; चरण III: 90 73 62 18 45 27 51; चरण IV: 90 73 62 51 18 45 27; चरण V: 90 73 62 51 45 18 27; चरण VI: 90 73 62 51 45 27 18. चरण III ('90 73 62 18 45 27 51') में दाएँ छोर से दूसरा तत्व 27 है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic