Top

# Input Output

##### Direction for [ Question No: 1 To 5 ] :

Study the given information and answer the questions:

When a word and number arrangement machine is given an input line of words and numbers, it arranges them following a particular rule. The following is an illustration of input and its rearrangement.

Input: light 19 weight 37 for 27 motor 43 bike 51

Step I: bike 18 light weight 37 for 27 motor 43 51

Step II: for 36 bike 18 light weight 27 motor 43 51

Step III: light 42 for 36 bike 18 weight 27 motor 51

Step IV: motor 28 light 42 for 36 bike 18 weight 51

Step V: weight 52 motor 28 light 42 for 36 bike 18

Step V is the last step of the above arrangement as the intended arrangement is obtained.

As per the rules followed in the above steps, find out in each of the following questions the appropriate step for the given input.

Input: step 23 taken 9 for 41 hard 33 work 59

1.

Which element is exactly between ‘10’ and ‘58’ in Step IV?

Concepts for words arrangement:- Each words are arranged in ascending order according to English dictionary  from left to right.

Number arrangement→ There are three prime number and two odd number. First we arrange prime number in ascending order and then odd number in ascending order. Subtract one (-1) from each prime number while they are arranged & add one (+1) to each odd number while they are arranged.

Input:    step 23 taken 9 for 41 hard 33 work 59
Step I:   for 22 step taken 9 41 hard 33 work 59
Step II:   hard 40 for 22 step taken 9 33 work 59
Step III: step 58 hard 40 for 22 taken 9 33 work
Step IV: taken 10 step 58 hard 40 for 22 33 work
Step V:  work 34 taken 10 step 58 hard 40 for 22

Enter details here

2.

What is the difference between the number which is second from left end in Step IV and the number which is second from the right end in Step III?

33-10=23

Enter details here

3.

How many steps are required to complete the above arrangements?

Enter details here

4.

In which step the elements “22 33 work” found in the same order?

Enter details here

5.

In step III, ‘step’ is related to ‘58’ and ‘hard’ is related to ‘40’. In the same way ‘taken’ is related to?

Enter details here

##### Direction for [ Question No: 6 To 10 ] :

Study the given information and answer the questions:

A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule in each step. The following is an illustration of an input and rearrangement.

Input: 19 ear 24 an 18 nose 25 our 32 mind 9 box

Step I: 10 19 ear 24 18 nose 25 our 32 mind box an

Step II: box 10 ear 24 18 nose 25 our 32 mind an 20

Step III: 26 box 10 24 18 nose our 32 mind an 20 ear

Step IV: mind 26 box 10 24 nose our 32 an 20 ear 17

Step V: 23 mind 26 box 10 our 32 an 20 ear 17 nose

Step VI: our 23 mind 26 box 10 an 20 ear 17 nose 31

And Step VI is the last step of the rearrangement of the above input.

As per the rules followed in the above steps, find out in each of the following questions the appropriate step for the given input.

Input: 17 and 32 on 12 never 29 time 7 put 4 fix

6.

In which step the elements ‘32 12 time’ found in the same order?

Students let us understand the Logic behind this Question and let’s understand how to solve it. When we see the each step, then we can find that there is both number and words are arranged in each step.
1) For words arrangement- Words are arranged according to ascending order given in English dictionary. In first step the words which come first according to English dictionary arranged first to extreme right. And in second step next word according to English dictionary are arranged to extreme left.
And this process is continued in further step.
2) For number arrangement- Number are arranged according to ascending order. There are three odd number and three even numbers. In first three step odd number are arranged in ascending order first to extreme left end then to extreme right. And in last three step even number are arranged in ascending order. (Each odd number is added by 1 while they are arranged and each even number is subtracted by 1 while they are arranged).

Input:  17 and 32 on 12 never 29 time 7 put 4 fix
Step I:  8 17 32 on 12 never 29 time put 4 fix and
Step II:  fix 8 32 on 12 never 29 time put 4 and 18
Step III:  30 fix 8 32 on 12 time put 4 and 18 never
Step IV:  on 30 fix 8 32 12 time put and 18 never 3
Step V: 11 on 30 fix 8 32 time and 18 never 3 put
Step VI:  time 11 on 30 fix 8 and 18 never 3 put 31

Enter details here

7.

In step III, which of the following element would be at 2nd to the left of 5th from the right end?

Students let us understand the Logic behind this Question and let’s understand how to solve it. When we see the each step, then we can find that there is both number and words are arranged in each step.
1) For words arrangement- Words are arranged according to ascending order given in English dictionary. In first step the words which come first according to English dictionary arranged first to extreme right. And in second step next word according to English dictionary are arranged to extreme left.
And this process is continued in further step.
2) For number arrangement- Number are arranged according to ascending order. There are three odd number and three even numbers. In first three step odd number are arranged in ascending order first to extreme left end then to extreme right. And in last three step even number are arranged in ascending order. (Each odd number is added by 1 while they are arranged and each even number is subtracted by 1 while they are arranged).

Input:  17 and 32 on 12 never 29 time 7 put 4 fix
Step I:  8 17 32 on 12 never 29 time put 4 fix and
Step II:  fix 8 32 on 12 never 29 time put 4 and 18
Step III:  30 fix 8 32 on 12 time put 4 and 18 never
Step IV:  on 30 fix 8 32 12 time put and 18 never 3
Step V: 11 on 30 fix 8 32 time and 18 never 3 put
Step VI:  time 11 on 30 fix 8 and 18 never 3 put 31

Enter details here

8.

How many step required completing the above arrangement?

Students let us understand the Logic behind this Question and let’s understand how to solve it. When we see the each step, then we can find that there is both number and words are arranged in each step.
1) For words arrangement- Words are arranged according to ascending order given in English dictionary. In first step the words which come first according to English dictionary arranged first to extreme right. And in second step next word according to English dictionary are arranged to extreme left.
And this process is continued in further step.
2) For number arrangement- Number are arranged according to ascending order. There are three odd number and three even numbers. In first three step odd number are arranged in ascending order first to extreme left end then to extreme right. And in last three step even number are arranged in ascending order. (Each odd number is added by 1 while they are arranged and each even number is subtracted by 1 while they are arranged).

Input:  17 and 32 on 12 never 29 time 7 put 4 fix

Step I:  8 17 32 on 12 never 29 time put 4 fix and
Step II:  fix 8 32 on 12 never 29 time put 4 and 18
Step III:  30 fix 8 32 on 12 time put 4 and 18 never
Step IV:  on 30 fix 8 32 12 time put and 18 never 3
Step V: 11 on 30 fix 8 32 time and 18 never 3 put
Step VI:  time 11 on 30 fix 8 and 18 never 3 put 31

Enter details here

9.

Which of the following would be the step V after arrangement?

Students let us understand the Logic behind this Question and let’s understand how to solve it. When we see the each step, then we can find that there is both number and words are arranged in each step.
1) For words arrangement- Words are arranged according to ascending order given in English dictionary. In first step the words which come first according to English dictionary arranged first to extreme right. And in second step next word according to English dictionary are arranged to extreme left.
And this process is continued in further step.
2) For number arrangement- Number are arranged according to ascending order. There are three odd number and three even numbers. In first three step odd number are arranged in ascending order first to extreme left end then to extreme right. And in last three step even number are arranged in ascending order. (Each odd number is added by 1 while they are arranged and each even number is subtracted by 1 while they are arranged).

Input:  17 and 32 on 12 never 29 time 7 put 4 fix

Step I:  8 17 32 on 12 never 29 time put 4 fix and
Step II:  fix 8 32 on 12 never 29 time put 4 and 18
Step III:  30 fix 8 32 on 12 time put 4 and 18 never
Step IV:  on 30 fix 8 32 12 time put and 18 never 3
Step V: 11 on 30 fix 8 32 time and 18 never 3 put
Step VI:  time 11 on 30 fix 8 and 18 never 3 put 31

Enter details here

10.

In step VI, ‘time’ is related to ‘on’ and ‘never’ is related to ‘put’. In the same way ‘fix’ is related to?

Students let us understand the Logic behind this Question and let’s understand how to solve it. When we see the each step, then we can find that there is both number and words are arranged in each step.
1) For words arrangement- Words are arranged according to ascending order given in English dictionary. In first step the words which come first according to English dictionary arranged first to extreme right. And in second step next word according to English dictionary are arranged to extreme left.
And this process is continued in further step.
2) For number arrangement- Number are arranged according to ascending order. There are three odd number and three even numbers. In first three step odd number are arranged in ascending order first to extreme left end then to extreme right. And in last three step even number are arranged in ascending order. (Each odd number is added by 1 while they are arranged and each even number is subtracted by 1 while they are arranged).

Input:  17 and 32 on 12 never 29 time 7 put 4 fix

Step I:  8 17 32 on 12 never 29 time put 4 fix and
Step II:  fix 8 32 on 12 never 29 time put 4 and 18
Step III:  30 fix 8 32 on 12 time put 4 and 18 never
Step IV:  on 30 fix 8 32 12 time put and 18 never 3
Step V: 11 on 30 fix 8 32 time and 18 never 3 put
Step VI:  time 11 on 30 fix 8 and 18 never 3 put 31

Enter details here