ReasoningVery hardSSC CGL Tier 2 · IBPS PO Mains
Input–output: A machine rearranges a line of numbers and words. In every step it takes the word that comes first in dictionary order among the words not yet arranged and moves it to the left end, just after the words already placed there; it then takes the largest number not yet arranged and moves it to the right end, just before the numbers already placed there. The other elements keep their relative order. Step II of an input is: fig kiwi 25 pear 48 19 plum 63 72. Which of the following is Step III of the same input?
- A. fig kiwi pear 25 19 plum 48 63 72
- B. fig kiwi pear plum 19 25 48 63 72
- C. fig kiwi pear 72 plum 63 48 25 19
- D. fig kiwi 25 pear 48 19 plum 63 72
Correct answer: A. fig kiwi pear 25 19 plum 48 63 72
In Step II the words fig and kiwi are on the left and 63, 72 on the right. Step III moves pear to the left (next in dictionary order) and 48 (largest of 25, 48, 19) to the right, just before 63.
हिंदी में
इनपुट-आउटपुट: एक मशीन संख्याओं और शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में वह अभी तक व्यवस्थित न हुए शब्दों में शब्दकोश में सबसे पहले आने वाला शब्द लेती है और उसे बाएँ सिरे पर, पहले से रखे शब्दों के ठीक बाद रखती है; फिर वह अभी तक व्यवस्थित न हुई सबसे बड़ी संख्या लेती है और उसे दाएँ सिरे पर, पहले से रखी संख्याओं के ठीक पहले रखती है। अन्य अवयव अपना सापेक्ष क्रम बनाए रखते हैं। किसी इनपुट का चरण II है: fig kiwi 25 pear 48 19 plum 63 72. उसी इनपुट का चरण III निम्नलिखित में से कौन-सा है?
- A. fig kiwi pear 25 19 plum 48 63 72
- B. fig kiwi pear plum 19 25 48 63 72
- C. fig kiwi pear 72 plum 63 48 25 19
- D. fig kiwi 25 pear 48 19 plum 63 72
उत्तर: A. चरण II में शब्द fig और kiwi बाईं ओर तथा 63, 72 दाईं ओर हैं। चरण III में pear बाईं ओर जाता है (शब्दकोश में अगला) और 48 (25, 48, 19 में सबसे बड़ी) दाईं ओर, 63 के ठीक पहले जाती है।
Practise more Data Sufficiency and Input–Output questionsData Sufficiency and Input–Output: notes and key points
More Data Sufficiency and Input–Output questions
- Data sufficiency: decide whether the statements are sufficient to answer the question. How is A related to B? I. A is the daughter of C…
- Decide which of the given statements are needed to answer the question. Who is the father of Rina? I. The husband of Rina's mother is…
- Data sufficiency: decide whether the statements are sufficient to answer the question. How is Tara related to Uma? I. Tara is a woman. II…
- Decide which of the given statements are needed to answer the question. Is M a grandparent of N on the father's side? I. M's son is N's…
- Data sufficiency: decide whether the statements are sufficient to answer the question. How is G related to H? I. G's mother has two…
- Decide which of the given statements are needed to answer the question. Is X the nephew of Y? I. X's mother is the sister of Y. II. X is a…