Post

Input-Output Quiz For IBPS PO: Part 8

 Directions (Q. 1-5): Study the following information carefully and answer the questions given below:

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


Input: 39 57 19 20 37 41 68 53
Step I: 19 39 57 37 41 68 53 20
Step II: 19 37 57 41 68 53 20 39
Step III: 19 37 41 68 53 20 39 57
Step IV: 19 37 41 53 20 39 57 68
Step V: 21 34 43 50 22 36 59 65
Step VI: 21 34 43 50 36 59 65 22
Step VII: 21 43 50 36 59 65 22 34
Step VIII: 21 43 59 50 65 22 34 36
Step IX: 21 43 59 65 22 34 36 50


And Step IX is the last step of the rearrangement as the desired arrangement is obtained. As per rules followed in the above steps, find out in each of the questions the appropriate step for the given input.

Input : 27 60 47 33 23 73 64 61

Q1.How many steps are needed to complete this arrangement? 
A. X
B. XII
C. VI
D. VIII
E. IX

Q2. Which of the following is fourth from the right end of Step VII in the above arrangement ? 
A. 61 
B. 80
C. 62
D. 30
E. None of these

Q3. Which of the following represents the sum of the first and the last elements in the last step? 
A. 50 
B. 85
C. 100
D. 95
E. None of these

Q4. Which of the following is step V of the given input? 
A. 25 29 61 63 70 30 44 62 
B. 25 44 63 70 29 30 62 61
C. 25 29 61 63 30 44 62 70
D. 25 44 63 70 29 62 61 30
E. None of these

Q5. Which element is exactly between the sixth from left and sixth from right in step VIII? 
A. 63, 70 
B. 61, 59
C. 65, 84
D. 62, 44
E. 70,30

Answers With Solution:

1. Ans. E. 

Solution: 
Input: 27 60 47 33 23 73 64 61 
Step I: 23 60 47 33 73 64 61 27
Step II: 23 47 60 73 64 61 27 33
Step III: 23 47 61 73 64 27 33 60
Step IV: 23 47 61 73 27 33 60 64
Step V: 25 44 63 70 29 30 62 61
Step VI: 25 44 63 70 29 62 61 30
Step VII: 25 29 63 70 62 61 30 44
Step VIII: 25 29 61 63 70 30 44 62
Step IX: 25 29 61 63 30 44 62 70

2. Ans. C. 

Solution: 
Input: 27 60 47 33 23 73 64 61 
Step I: 23 60 47 33 73 64 61 27
Step II: 23 47 60 73 64 61 27 33
Step III: 23 47 61 73 64 27 33 60
Step IV: 23 47 61 73 27 33 60 64
Step V: 25 44 63 70 29 30 62 61
Step VI: 25 44 63 70 29 62 61 30
Step VII: 25 29 63 70 62 61 30 44
Step VIII: 25 29 61 63 70 30 44 62
Step IX: 25 29 61 63 30 44 62 70

3. Ans. D. 

Solution: 
Input: 27 60 47 33 23 73 64 61 
Step I: 23 60 47 33 73 64 61 27
Step II: 23 47 60 73 64 61 27 33
Step III: 23 47 61 73 64 27 33 60
Step IV: 23 47 61 73 27 33 60 64
Step V: 25 44 63 70 29 30 62 61
Step VI: 25 44 63 70 29 62 61 30
Step VII: 25 29 63 70 62 61 30 44
Step VIII: 25 29 61 63 70 30 44 62
Step IX: 25 29 61 63 30 44 62 70

4. Ans. D. 

Solution: 
Input: 27 60 47 33 23 73 64 61 
Step I: 23 60 47 33 73 64 61 27
Step II: 23 47 60 73 64 61 27 33
Step III: 23 47 61 73 64 27 33 60
Step IV: 23 47 61 73 27 33 60 64
Step V: 25 44 63 70 29 30 62 61
Step VI: 25 44 63 70 29 62 61 30
Step VII: 25 29 63 70 62 61 30 44
Step VIII: 25 29 61 63 70 30 44 62
Step IX: 25 29 61 63 30 44 62 70

5. Ans. A. 

Solution: 
Input: 27 60 47 33 23 73 64 61 
Step I: 23 60 47 33 73 64 61 27
Step II: 23 47 60 73 64 61 27 33
Step III: 23 47 61 73 64 27 33 60
Step IV: 23 47 61 73 27 33 60 64
Step V: 25 44 63 70 29 30 62 61
Step VI: 25 44 63 70 29 62 61 30
Step VII: 25 29 63 70 62 61 30 44
Step VIII: 25 29 61 63 70 30 44 62
Step IX: 25 29 61 63 30 44 62 70

In Step I-Step IV prime numbers are arranged in ascending order from left end and other numbers are arranged from right end.
In step V +2, -3, +2, -3....
In Step VI-Step IX odd numbers are arranged in ascending order from left end and even numbers are arranged from right end. 

Post a Comment

0 Comments