Input–output: A machine rearranges a line of words and numbers. In each step the machine arranges one element. In odd-numbered steps it takes the smallest number among those not yet arranged and moves it to the extreme left end block (just after the numbers already placed there); in even-numbered steps it takes the word with the most letters among the words not yet arranged (ties: the one first in dictionary order) and moves it to the right end block (just before the words already placed there). If one kind runs out, the machine uses the other kind in the remaining steps. The other elements keep their relative order. Input: pocket monkey blanket 88 bottle 24 47. Which of the following is Step V of this input?
- A. 24 pocket monkey blanket 88 bottle 47
- B. 24 47 pocket monkey 88 bottle blanket
- C. 24 47 88 pocket monkey bottle blanket
- D. 88 47 24 pocket monkey bottle blanket
Correct answer: C. 24 47 88 pocket monkey bottle blanket
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों और संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन एक अवयव को व्यवस्थित करती है। विषम चरणों में वह अव्यवस्थित संख्याओं में से सबसे छोटी संख्या लेकर उसे बाएँ छोर के खंड में (वहाँ पहले रखी संख्याओं के ठीक बाद) रख देती है; सम चरणों में वह अव्यवस्थित शब्दों में से सबसे अधिक अक्षरों वाला शब्द (बराबरी पर शब्दकोश क्रम में पहला) लेकर उसे दाएँ छोर के खंड में (वहाँ पहले रखे शब्दों के ठीक पहले) रख देती है। यदि किसी एक प्रकार के अवयव समाप्त हो जाएँ तो शेष चरणों में मशीन दूसरे प्रकार का प्रयोग करती है। बाकी अवयव अपना सापेक्ष क्रम बनाए रखते हैं। इनपुट: pocket monkey blanket 88 bottle 24 47। इस इनपुट का चरण V निम्नलिखित में से कौन-सा है?
- A. 24 pocket monkey blanket 88 bottle 47
- B. 24 47 pocket monkey 88 bottle blanket
- C. 24 47 88 pocket monkey bottle blanket
- D. 88 47 24 pocket monkey bottle blanket
उत्तर: C. नियम को चरण-दर-चरण लगाने पर: चरण I: 24 pocket monkey blanket 88 bottle 47; चरण II: 24 pocket monkey 88 bottle 47 blanket; चरण III: 24 47 pocket monkey 88 bottle blanket; चरण IV: 24 47 pocket monkey 88 bottle blanket; चरण V: 24 47 88 pocket monkey bottle blanket। इसलिए चरण V '24 47 88 pocket monkey bottle blanket' है।
More Data Sufficiency and Input–Output questions
- Input–output: A machine rearranges a line of words and numbers. Step I: the numbers are rearranged in descending order, occupying only the…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Five persons K, L, M, N and O are compared by…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Five students A, B, C, D and E are compared by…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Five persons K, L, M, N and O are compared by age…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Six persons P, Q, R, S, T and U are compared by…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Six students P, Q, R, S, T and U are compared by…