ReasoningVery hardIBPS PO · SBI PO · IBPS Clerk
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 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: egg milk bread jam honey rice tea. Which step of this input reads 'tea rice milk jam egg bread honey'?
- A. Step III
- B. Step V
- C. There is no such step
- D. Step IV
Correct answer: D. Step IV
Step I: tea egg milk bread jam honey rice; Step II: tea rice egg milk bread jam honey; Step III: tea rice milk egg bread jam honey; Step IV: tea rice milk jam egg bread honey; Step V: tea rice milk jam honey egg bread. The arrangement 'tea rice milk jam egg bread honey' appears at Step IV.
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे अंत में आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: egg milk bread jam honey rice tea. इस इनपुट का कौन-सा चरण 'tea rice milk jam egg bread honey' है?
- A. चरण III
- B. चरण V
- C. ऐसा कोई चरण नहीं है
- D. चरण IV
उत्तर: D. चरण I: tea egg milk bread jam honey rice; चरण II: tea rice egg milk bread jam honey; चरण III: tea rice milk egg bread jam honey; चरण IV: tea rice milk jam egg bread honey; चरण V: tea rice milk jam honey egg bread. व्यवस्था 'tea rice milk jam egg bread honey' चरण IV में आती है।
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 and numbers. In each step, the machine moves the smallest number not yet arranged 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 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…