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 on the left, in odd-numbered steps; in even-numbered steps it takes the word that comes last in dictionary order among the words not yet arranged and moves it to the right, just before the words already arranged on the right. The other words keep their relative order. Input: pocket wheat elephant harvest bell lemon forest. Which of the following is Step IV of this input?
- A. wheat pocket harvest lemon forest elephant bell
- B. bell elephant forest harvest lemon pocket wheat
- C. bell elephant pocket harvest lemon forest wheat
- D. bell elephant harvest lemon forest pocket wheat
Correct answer: D. bell elephant harvest lemon forest pocket wheat
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन, विषम संख्या वाले चरणों में, उन शब्दों में से जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को बाईं ओर, पहले से बाईं ओर व्यवस्थित शब्दों के ठीक बाद, रख देती है; सम संख्या वाले चरणों में वह अव्यवस्थित शब्दों में से शब्दकोश क्रम में सबसे बाद में आने वाले शब्द को दाईं ओर, पहले से दाईं ओर व्यवस्थित शब्दों के ठीक पहले, रख देती है। बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। इनपुट: pocket wheat elephant harvest bell lemon forest। इस इनपुट का चरण IV निम्नलिखित में से कौन-सा है?
- A. wheat pocket harvest lemon forest elephant bell
- B. bell elephant forest harvest lemon pocket wheat
- C. bell elephant pocket harvest lemon forest wheat
- D. bell elephant harvest lemon forest pocket wheat
उत्तर: D. नियम को चरण-दर-चरण लगाने पर: चरण I: bell pocket wheat elephant harvest lemon forest; चरण II: bell pocket elephant harvest lemon forest wheat; चरण III: bell elephant pocket harvest lemon forest wheat; चरण IV: bell elephant harvest lemon forest pocket wheat। इसलिए चरण IV 'bell elephant harvest lemon forest pocket wheat' है।
More Data Sufficiency and Input–Output questions
- Input–output: A machine rearranges a line of words. In each step the machine takes the word with the largest number of letters among the…
- Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it…
- Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it…
- Input–output: A machine rearranges a line of words and numbers. Step I: the numbers are rearranged in descending order, occupying only the…
- Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it…
- Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it…