ReasoningEasyIBPS PO · SBI PO · IBPS Clerk
Input–output: A machine rearranges a line of words. In each step, the machine 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 relative order. The machine stops when all the words are arranged. Input: rose lily daisy tulip aster. Which of the following is Step II?
- A. aster daisy rose lily tulip
- B. aster rose lily daisy tulip
- C. aster daisy lily rose tulip
- D. aster daisy rose tulip lily
Correct answer: A. aster daisy rose lily tulip
Working step by step: Step I: aster rose lily daisy tulip; Step II: aster daisy rose lily tulip; Step III: aster daisy lily rose tulip. So Step II is 'aster daisy rose lily tulip'.
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: rose lily daisy tulip aster. निम्नलिखित में से कौन-सा चरण II है?
- A. aster daisy rose lily tulip
- B. aster rose lily daisy tulip
- C. aster daisy lily rose tulip
- D. aster daisy rose tulip lily
उत्तर: A. चरण-दर-चरण हल करने पर: चरण I: aster rose lily daisy tulip; चरण II: aster daisy rose lily tulip; चरण III: aster daisy lily rose tulip. इसलिए चरण II 'aster daisy rose lily tulip' है।
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 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 numbers. In each step, the machine takes the smallest number not yet arranged and moves it to…
- 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. 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. In each step, the machine takes the word that comes last in dictionary order among the…
- 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…