Machine-translated by Google. Questions are authored in English.
Top

Discussion

The step II of an input is as follows :

and Do pet to on that

which of the following will definetily be the input  ?

  • A. Do on pet to and that
  • B. Do pet to and that on
  • C.Do and pet to on that
  • D. Cannot be determined
  • E. None of these

Answer: E

Correct answer: None of these

The machine sorts alphabetically one position at a time and passes over any word already correctly placed. The six words order as and, Do, on, pet, that, to, so at Step II the first two positions hold “and Do” and the remaining four keep their input order - here “pet to on that”. Only the third option has that tail, but from it Step I alone already yields the given line, and Step II would go on to place “on” third. Since no option can be the input, the answer is none of these.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.