Input and Output

Question 1 :

Input:     16 today 32 waiting 21 are 11 people 46 bus 66 long

step I:     16 today 32 waiting 21 11 people 46 bus 66 long are

step II:    16 today 32 waiting 21 people 46 bus 66 long 11 are

step IV:    Today 32 waiting 21 people 46 66  long 16 and 11 are

step V:      today 32 waiting people 46 66 21 long 16 and 11 are

step VI:    today 32 waiting 46 66 and people 21 and 16 bus 11 are

step VII:   today waiting 46 66 32 people 21 long 16 bus 11 are

step VIII:   waiting 46 66 today  32 people 21 long 16 bus 11 are

step IX :     waiting 66 46 today  32 people 21 long 16 bus 11 are

step X:     66 waiting 46 today 32 people 21 long 16 bus 11 are

step X is the last step of the arrangement of the above input as the intended arrangement is obtained.

Solution:

After carefully analysis of the given input and various steps of arrangement it is evident that words and numbers are rearranged from right to left. In the first step one word is rearranged. The words are rearranged in  alphabetical order and the numbers are arranged in ascending order from right to left.

Input:    23 you 13 wake 81 me 43 before 72 go 34 up

step I:  23 you 13 wake 81 me 43 72 go 34 up before

step II:  23 you wake 81 me 43 75 go 34 up 13 before

step III:  23 you wake 81 me 43 72 34 up go 34 before

step IV:  you wake 81 me 43 72 34 up 23 go 13  before

Step V: you wake 81 43 72 34 up me 23 go 13 before

Step VI: you wake 81 43 72 up 34 me 23 go 13 before

Step VII: you wake 81 72 43 up 34 me 23 go 13 before

Step VIII: you 81 72 wake 43 up 34 me 23 go 13 before

Step IX: 81 you 72 wake 43 up 34 me 23 go 13 before

now, answer the following based on the following input

Q1. Input:   23 you   13 wake  81 me  43 before  72 go 34 up

Which of these words /numbers would be fourth (from left side) in the step IV for the input?

A. me

B. 43

C. 81

D. wake

(A) me

Q2. The following stands for which step of the rearrangement?

you wake 81 43 72 34 up me 23 go 13 before

A. step IX

B. Step IV

C. Step VI

D. Step V

(D) it is step V

Q3. Which of the following would be step II for the above input?

A. 23 you 81 me 43 72 34 up go 13 before

B. 23 you 13 wake 81 me 43 72 go 34 up before

C. 23 you wake 81 me 43 72 90 34 up before 13

D. 23 you wake 81 me 43 72 go 34 up 13 before

(D) Option (D) is step II.

Leave a Reply

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