ReasoningVery hardIBPS PO · SBI PO · IBPS Clerk
Input–output: A machine rearranges a line of numbers. In each step, the machine takes the smallest 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: 86 29 84 15 47 92 71 38. In Step IV, which element is 3rd from the right end?
- A. 86
- B. 92
- C. 84
- D. 47
Correct answer: C. 84
Step I: 15 86 29 84 47 92 71 38; Step II: 15 29 86 84 47 92 71 38; Step III: 15 29 38 86 84 47 92 71; Step IV: 15 29 38 47 86 84 92 71; Step V: 15 29 38 47 71 86 84 92; Step VI: 15 29 38 47 71 84 86 92. In Step IV ('15 29 38 47 86 84 92 71'), the 3rd element from the right is 84.
हिंदी में
इनपुट-आउटपुट: एक मशीन संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन अभी तक व्यवस्थित न की गई सबसे छोटी संख्या को लेकर बाईं ओर, पहले से व्यवस्थित संख्याओं के ठीक बाद, रख देती है; बाकी संख्याएँ अपना सापेक्ष क्रम बनाए रखती हैं। जब सभी संख्याएँ व्यवस्थित हो जाती हैं तो मशीन रुक जाती है। इनपुट: 86 29 84 15 47 92 71 38. चरण IV में दाएँ छोर से तीसरा तत्व कौन-सा है?
- A. 86
- B. 92
- C. 84
- D. 47
उत्तर: C. चरण I: 15 86 29 84 47 92 71 38; चरण II: 15 29 86 84 47 92 71 38; चरण III: 15 29 38 86 84 47 92 71; चरण IV: 15 29 38 47 86 84 92 71; चरण V: 15 29 38 47 71 86 84 92; चरण VI: 15 29 38 47 71 84 86 92. चरण IV ('15 29 38 47 86 84 92 71') में दाएँ छोर से तीसरा तत्व 84 है।
Practise more Data Sufficiency and Input–Output questionsData Sufficiency and Input–Output: notes and key points
More Data Sufficiency and Input–Output questions
- Input–output: A machine rearranges a line of words. In each step, the machine takes the word that comes first in dictionary order among…
- Input–output: A machine rearranges a line of words and numbers. In each step, the machine moves the largest number not yet arranged to the…
- Input–output: A machine rearranges a line of words. In each step, the machine takes the word that comes first in dictionary order among…
- 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…
- Input–output: A machine rearranges a line of words. In each step, the machine takes the longest word not yet arranged (if two are equally…
- Input–output: A machine rearranges a line of words and numbers. In each step, the machine moves the smallest number not yet arranged to…