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 largest 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 that comes first in dictionary order among the words not yet arranged 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: 73 market bridge 41 42 pencil. Which of the following is Step IV of this input?
- A. 73 42 market 41 pencil bridge
- B. 41 42 73 pencil market bridge
- C. 73 market bridge 41 42 pencil
- D. 73 42 41 pencil market bridge
Correct answer: D. 73 42 41 pencil market bridge
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों और संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन एक अवयव को व्यवस्थित करती है। विषम चरणों में वह अव्यवस्थित संख्याओं में से सबसे बड़ी संख्या लेकर उसे बाएँ छोर के खंड में (वहाँ पहले रखी संख्याओं के ठीक बाद) रख देती है; सम चरणों में वह अव्यवस्थित शब्दों में से शब्दकोश क्रम में सबसे पहले आने वाला शब्द लेकर उसे दाएँ छोर के खंड में (वहाँ पहले रखे शब्दों के ठीक पहले) रख देती है। यदि किसी एक प्रकार के अवयव समाप्त हो जाएँ तो शेष चरणों में मशीन दूसरे प्रकार का प्रयोग करती है। बाकी अवयव अपना सापेक्ष क्रम बनाए रखते हैं। इनपुट: 73 market bridge 41 42 pencil। इस इनपुट का चरण IV निम्नलिखित में से कौन-सा है?
- A. 73 42 market 41 pencil bridge
- B. 41 42 73 pencil market bridge
- C. 73 market bridge 41 42 pencil
- D. 73 42 41 pencil market bridge
उत्तर: D. नियम को चरण-दर-चरण लगाने पर: चरण I: 73 market bridge 41 42 pencil; चरण II: 73 market 41 42 pencil bridge; चरण III: 73 42 market 41 pencil bridge; चरण IV: 73 42 41 pencil market bridge। इसलिए चरण IV '73 42 41 pencil market bridge' है।
More Data Sufficiency and Input–Output questions
- Data sufficiency: decide whether the statements are sufficient to answer the question. Is the positive integer n divisible by 12? I. n is…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Five students P, Q, R, S and T have different…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Is Raj the maternal uncle of Tina? I. Raj is the…
- Input–output: A machine rearranges a line of words. In each step it moves the shortest word among those not yet arranged to the left end…
- Input–output: A machine rearranges a line of numbers and words. In each step it first takes the number with the greatest sum of digits…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Is X the father-in-law of Y? I. X's son is married…