ReasoningEasyIBPS PO · SBI PO · SSC CGL
Input–output: A machine arranges words. In each step it takes the word that comes first in dictionary order among the words not yet arranged and moves it to the left, just after the words already arranged; the other words keep their order. It stops when all the words are in dictionary order. Input: sun ant pen cow. How many steps does the machine need?
- A. 3
- B. 5
- C. 2
- D. 4
Correct answer: A. 3
Step I: ant sun pen cow. Step II: ant cow sun pen. Step III: ant cow pen sun, which is in dictionary order, so 3 steps.
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों को व्यवस्थित करती है। प्रत्येक चरण में वह उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना क्रम बनाए रखते हैं। जब सभी शब्द शब्दकोश क्रम में आ जाते हैं तो वह रुक जाती है। इनपुट: sun ant pen cow. मशीन को कितने चरण लगेंगे?
- A. 3
- B. 5
- C. 2
- D. 4
उत्तर: A. चरण I: ant sun pen cow। चरण II: ant cow sun pen। चरण III: ant cow pen sun, जो शब्दकोश क्रम में है, इसलिए 3 चरण।
Practise more Data Sufficiency and Input–Output questionsData Sufficiency and Input–Output: notes and key points
More Data Sufficiency and Input–Output questions
- Data sufficiency: decide whether the statements are sufficient to answer the question. How is M related to N? I. M is the son of N's…
- Data sufficiency: decide whether the statements are sufficient to answer the question. What day of the week is the 15th of a month? I. The…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Among A, B, C, D and E, who is the heaviest? I. A…
- Data sufficiency: decide whether the statements are sufficient to answer the question. In a code language, what is the code for 'sky'? I…
- Data sufficiency: decide whether the statements are sufficient to answer the question. x is an integer. Is x even? I. x + 3 is odd. II. 2x…
- Data sufficiency: decide whether the statements are sufficient to answer the question. What is the speed of a train? I. It crosses a 200 m…