Input and Output

Question 2:

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 steps, find out in each of the following question the apporiate steps for the input given below:

Input: 49 last zen 16 82 yet can vast 33 aim 87 54

1. How many steps would be needed to complete the arrangement?

(A) IV

(B) V

(C) VI

(D) VI

2. which step number would be the following output ?

vast last can aim zen 16 yet 33 87 82 54 49

(A) III

(B) II

(C) VII

(D) IV

1. which of the following would be the step I?

(A) aim 49 can zen 16 yet vast 33 54 87 82

(B) vast last can aim zen 16 yet 33 87 82 54 49

(C) zen 49 last 16 82 yet can vast 22 aim 54 87

(D) none of these

Answer:

solution for Qs.  1-3

input: 49 last zen 16 82 yet can vast 33 aim 87 54

step I: aim 49 last zen 16 82 yet can vast 33 54 87

step II: can aim 49 last zen 16 yet vast 33 54 87 82

step III: last can aim 49 zen 16 yet vast  33 87 82 54

step IV: vast last can aim zen 16 yet 33 87 82 54 49

step V: yet vast last can aim zen 16 87 82 54 49 33

step VI: zen yet vast last can aim 87 82 54 49 33 16

1. C

2. D

3. D

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *