# Reasoning Quiz for Bank Exams 2015 - Set 5 - Input Output

Hello and welcome to ExamPundit. Here is a set of Reasoning Quiz based on Input Output problems for Bank Exams 2015.

Study the following information carefully and answer the questions given below :
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 input and various steps of rearrangement. (All the numbers are two digit numbers).

Input: sweet 46 nice 36 friend 26 help 96 bright 76 kind 66
Step I: sweet 46 nice 36 friend 26 help bright 76 kind 66 96
Step II: sweet nice 46 36 friend 26 help bright kind 66 76 96
Step III: sweet nice kind 46 36 friend 26 help bright 66 76 96
Step IV: sweet nice kind help 36 friend 26 bright 46 66 76 96
Step V: sweet nice kind help friend 26 bright 36 46 66 76 96
Step VI: sweet nice kind help friend bright 26 36 46 66 76 96

And Step VI 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: arrow 98 paint 58 lamb 38 each 78 great 18 most 48 rent 88

1. Which word/number would be fifth to the left of the sixth element from the right in the step V?
(a) great
(b) arrow
(c) lamb
(d) 38
(e) 48

2. Which of the following represents the position of "58" in the step IV?
(a) Eighth from left
(b) Third from right
(c) Ninth from left
(d) Eleventh from left
(e) Fifth from right

3. How many elements (words/numbers) are there between "most" and "78" as they appear in the Step VI?
(a) Eight
(b) Seven
(c) Nine
(d) Five
(e) Four

4. Which step number is the following output?
rent paint most arrow 58 lamb 38 each great 18 48 78 88 98
(a) There is no such step
(b) Step II
(c) Step V
(d) Step VI
(e) Step III

5. Which element (word/number) would be at the eleventh position from the right in the Step III?
(a) lamb
(b) arrow
(c) 58
(d) 38
(e) each

6. Which element (word/number) would be at the sixth position from the left in the Step VI ?
(a) 18
(b) arrow
(c) great
(d) each
(e) 38

7. At which of the following positions "great" would appear from the left in the Step V ?
(a) Fifth
(b) Sixth
(c) Fourth
(d) Second
(e) Third

Solutions -After careful analysis of the input and various steps of rearrangement, it is evident that in each step one word and one number are rearranged. The word which comes last in the dictionary order is moved to the extreme left position while the highest number is moved to the extreme right position in the Step I. In the next step, the word which comes at the second position in dictionary order is placed at the second position from the left and the second highest number is placed at the second position from the right. Such procedure is continued till all the words get rearranged in dictionary order but in reverse manner and all the numbers get rearranged after the words in ascending order.

Input: arrow 98 paint 58 lamb 38 each 78 great 18 most 48 rent 88
Step I: rent arrow paint 58 lamb 38 each 78 great 18 most 48 88 98
Step II: rent paint arrow 58 lamb 38 each 78 great 18 most 48 88 98
Step III: rent paint most arrow 58 lamb 38 each great 18 48 78 88 98
Step IV: rent paint most lamb arrow 38 each great 18 48 58 78 88 98
Step V: rent paint most lamb great arrow 38 each 18 48 58 78 88 98
Step VI: rent paint most lamb great each arrow 18 38 48 58 78 88 98.

Regards

Team ExamPundit