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: 91 78 36 72 14 85 43 27. Which step of this input reads '14 27 36 43 72 91 78 85'?
- A. Step IV
- B. Step V
- C. Step VI
- D. Step VII
Correct answer: B. Step V
Step I: 14 91 78 36 72 85 43 27; Step II: 14 27 91 78 36 72 85 43; Step III: 14 27 36 91 78 72 85 43; Step IV: 14 27 36 43 91 78 72 85; Step V: 14 27 36 43 72 91 78 85; Step VI: 14 27 36 43 72 78 91 85; Step VII: 14 27 36 43 72 78 85 91. The arrangement '14 27 36 43 72 91 78 85' appears at Step V.
हिंदी में
इनपुट-आउटपुट: एक मशीन संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन अभी तक व्यवस्थित न की गई सबसे छोटी संख्या को लेकर बाईं ओर, पहले से व्यवस्थित संख्याओं के ठीक बाद, रख देती है; बाकी संख्याएँ अपना सापेक्ष क्रम बनाए रखती हैं। जब सभी संख्याएँ व्यवस्थित हो जाती हैं तो मशीन रुक जाती है। इनपुट: 91 78 36 72 14 85 43 27. इस इनपुट का कौन-सा चरण '14 27 36 43 72 91 78 85' है?
- A. चरण IV
- B. चरण V
- C. चरण VI
- D. चरण VII
उत्तर: B. चरण I: 14 91 78 36 72 85 43 27; चरण II: 14 27 91 78 36 72 85 43; चरण III: 14 27 36 91 78 72 85 43; चरण IV: 14 27 36 43 91 78 72 85; चरण V: 14 27 36 43 72 91 78 85; चरण VI: 14 27 36 43 72 78 91 85; चरण VII: 14 27 36 43 72 78 85 91. व्यवस्था '14 27 36 43 72 91 78 85' चरण V में आती है।
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 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…
- Data sufficiency: decide whether the statements are sufficient to answer the question. In which direction is point Q from point P? I. P is…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Forty students stand in a row facing north. What is…
- Data sufficiency: decide whether the statements are sufficient to answer the question. How is M related to K? I. K is the brother of N…
- Data sufficiency: decide whether the statements are sufficient to answer the question. On which day of the week does 25 March fall in a…