ReasoningVery hardIBPS PO · SBI PO · SSC CGL
Input–output: A machine arranges words. In each step it 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; the other words keep their order. Step III of a certain input is: ant bee cat yak owl dog. Which of the following could NOT be the input?
- A. yak ant owl bee dog cat
- B. owl yak ant dog bee cat
- C. yak owl cat dog bee ant
- D. bee yak cat owl ant dog
Correct answer: B. owl yak ant dog bee cat
Moving ant, bee and cat never changes the relative order of the other words, so the input must have yak before owl before dog. In 'owl yak ant dog bee cat', owl comes before yak, and its Step III would be ant bee cat owl yak dog.
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों को व्यवस्थित करती है। प्रत्येक चरण में वह उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना क्रम बनाए रखते हैं। किसी इनपुट का चरण III है: ant bee cat yak owl dog. निम्नलिखित में से कौन-सा इनपुट नहीं हो सकता?
- A. yak ant owl bee dog cat
- B. owl yak ant dog bee cat
- C. yak owl cat dog bee ant
- D. bee yak cat owl ant dog
उत्तर: B. ant, bee और cat को आगे ले जाने से बाकी शब्दों का आपसी क्रम कभी नहीं बदलता, इसलिए इनपुट में yak, owl से पहले और owl, dog से पहले होना चाहिए। 'owl yak ant dog bee cat' में owl, yak से पहले है, और उसका चरण III ant bee cat owl yak dog होगा।
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. The length of a rectangle is 12 cm. What is its…
- Data sufficiency: decide whether the statements are sufficient to answer the question. There are 40 students in a class. What is Neha's…
- Data sufficiency: decide whether the statements are sufficient to answer the question. How much does Arjun earn per month? I. Arjun earns…
- Data sufficiency: decide whether the statements are sufficient to answer the question. On which day of the week was 10 June? I. 1 June was…
- Data sufficiency: decide whether the statements are sufficient to answer the question. What is Ritu's present age? I. Ritu is 4 years…
- Data sufficiency: decide whether the statements are sufficient to answer the question. How many children are standing in the row? I. Anil…