## Input Output Machine For SBI PO/Clerk Exam Set-1

Directions (Q. 1-7): Study the following information to answer the questions given below:

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

Input: 48 245 182 26 99 542 378 297

Step I: 542 48 245 182 26 99 378 297
Step II : 542 26 48 245 182 99 378 297
Step III: 542 26 378 48 245 182 99 297
Step IV: 542 26 378 48 297 245 182 99
Step V: 542 26 378 48 297 99 245 182
This is the final arrangement and step V is the last step for this input.

1. What will the fourth step for an input whose second step is given below?

Step: 765 42 183 289 542 65 110 350

1) 765 42 542 350 183 289 65 110
2) 765 42 542 65 110 183 289 350
3) 765 42 542 65 183 289 110 350
4) Cannot be determined
5) None of these

2. What should be the third step of the following input?

Input: 239 123 58 361 495 37

1) 495 37 361 123 239 58
2) 495 37 58 361 123 239
3) 495 37 58 123 361 239
4) 495 37 361 239 123 58
5) None of these

3. How many steps will be required to get the final output from the following input?

Input: 39 88 162 450 386 72 29
l) Two
2) Three
3) Four
4) Six
5) None of these

4. What should be the last step of the following input?

Input: 158 279 348 28 326 236
1) 348 28 326 158 279 236
2) 348 28 326 236 158 279
3) 348 28 236 158 279 326
4) 348 28 158 326 236 279
5) None of these

5. If the first step of an input is “785 198 32 426 373 96 49”, then which of the following steps will be “785 32 426 49 198 373 96” ?
1) Third
2) Fourth
3) Fifth
4) Second
5) None of these

6. Below is given the second step of an input. What will be its fourth step?

Step II : 298 12 128 36 212 185

1) 298 12 212 128 36 185
2) 298 12 212 36 128 185
3) 298 12 36 212 128 185
4)Cannot be determined
5) None of these

7. Below is given the third step of an input. What will be its second step?

Step III: 387 42 236 185 92 64

1) 387 42 185 236 92 64
2) 387 42 92 185 236 64
3) 387 42 185 92 236 64
4) Cannot be determined

5) None of these

Solution :-

(1-7): From the last step it is clear that there are two alternating series of numbers: One in descending order and the other in ascending order. When we go through input to step 1, we find that the largest no. becomes the first and remaining numbers shift rightward. In the next step the smallest no. becomes the second and the rest shift rightward. These two steps continue alternately until the two
alternate series are formed.
1.3;
2.4;
3.5;
4.1;
5.2;
6.2;
7.4; Previous steps can’t be determined