Quiz- Input and Output
Directions (1 - 5): Study the following information to answer the given questions:
A word and number
arrangement machine when given an input line of words and numbers rearranges
them following a particular rule. The following is an illustration of input and
rearrangement.
Input: sum
28 have 19 96 48 luck nice 78 rope
Step I: have
sum 28 19 48 luck nice 78 rope 96
Step II: luck
have sum 28 19 48 nice rope 96 78
Step III: nice
luck have sum 28 19 rope 96 78 48
Step IV: rope
nice luck have sum 19 96 78 48 28
Step V: sum
rope nice luck have 96 78 48 28 19
And step V is the last step of the
rearrangement. As per the rules followed in the above steps, find out in each
of the following questions the appropriate step for the input given below:
Input: 49 last zen 16 82 yet can vast 33 aim 87 54
1. How many steps will be needed to complete the arrangement?
(1) IV
(2) V
(3) VI
(4) VII
(5) None of these
2. Which step number would be the following output?
Vast last can aim zen 16 yet 33 87
82 54 49
(1) III
(2) II
(3) VII
(4) IV
(5) There will be no such step
3. Which of the following would be step I?
(1) aim 49 can zen 16 yet vast 33
54 87 82
(2) vast last can aim zen 16 yet
33 87 82 54 49
(3) zen 49 last 16 82 yet can vast
33 aim 54 87
(4) aim 49 last zen 82 yet can
vast 33 87 54 16
(5) None of these
4. In step V, which of the following words/numbers would be at 6th
position from the right?
(1) 87
(2)16
(3) 33
(4) zen
(5) aim
5. Which of the following would be the final arrangement?
(1) zen yet vast last can aim 16
33 49 54 82 87
(2) aim can last vast yet zen 16
33 49 54 82 87
(3) aim can last vast yet zen 87
82 54 49 33 16
(4) zen yet vast last can aim 87
82 54 49 33 16
(5) None of these
Answers:
1-3;
2-4;
3-5;
4-2;
5-4;
