Beruflich Dokumente
Kultur Dokumente
INTRODUCTION
In these questions, INPUT data is converted into OUTPUT through a few systematic steps. In
the directions for these questions, an example (to show how a given input is transformed into
a designed output) will be given. The input is a string of elements ( these elements can be
alphabet or numbers or words or any combination of these), which is processed through a few
methodical steps and transformed into the designed ( pre-defined order of elements) output.
Now, let us analyze the two important phrases used in the above paragraph, viz. desired order
of output and methodic
INPUT AND OUTPUT
The form in which the final output is required, is pre-defined. The following are the most
commonly followed arrangement of elements in the output.
if the elements are numbers
1.ascending order
2.desending order
B) if the elements are letters
1.alphabetical order
2. reverse alphabetical order
C) if the elements are combination of letters, numbers and words, several kinds of
arrangements are possible. On a case to case basis, we have to find out the arrangement in the
output.
INPUT AND OUTPUT
METHODICAL TRANSFORMATION
To achieve the pre-defined output, the input string of elements is processed through a few
steps. These steps follow a specific pattern while rearranging the given elements. There are
two most commonly followed methods. Let us name them as
singe element movement – in this method, only one element is rearranged in each step.
interchange of two elements- in this case, A interchanges its position with B and the position
of the other elements remain unchanged. This is the first step. Each of the subsequent steps
follow the same method till the final output is obtained.
Students should note that there can be other methods of transformation.
INPUT AND OUTPUT
I.1) The following is an illustration of the input and the steps of rearrangement:
Input: 15 17 35 7 23 11
Step I: 16 15 38 3 28 5
Step II: 3 5 15 16 28 38
Step III: 9 15 45 48 84 114
Step IV: 9 6 9 12 12 6
Step V: 6 6 9 12 12 6
Step V is the output.
Answer the following questions based on the above information.
Solution (d)
As sorting is done from step IV. We cannot find step I.
INPUT - OUTPUT
I.3) The following is an illustration of the input and the steps of rearrangement:
Input: 15 17 35 7 23 11
Step I: 16 15 38 3 28 5
Step II: 3 5 15 16 28 38
Step III: 9 15 45 48 84 114
Step IV: 9 6 9 12 12 6
Step V: 6 6 9 12 12 6
Step V is the output.
Answer the following questions based on the above information.
Solution.3 (c)
Input: 9 18 36 54 27 45
Step I: 10 16 39 50 32 39
Step II: 10 16 32 39 39 50
Step III: 30 48 96 117 117 150
Step IV: 3 12 15 9 9 6
INPUT - OUTPUT
I.4) The following is an illustration of the input and the steps of rearrangement:
Input: 15 17 35 7 23 11
Step I: 16 15 38 3 28 5
Step II: 3 5 15 16 28 38
Step III: 9 15 45 48 84 114
Step IV: 9 6 9 12 12 6
Step V: 6 6 9 12 12 6
Step V is the output.
Answer the following questions based on the above information.
Solution 4.(d)
Input: 11 7 18 26 22 32
Step I: 12 5 21 22 27 26
Step II: 5 12 21 22 26 27
Step III: 15 36 63 66 78 81
Step IV: 6 9 9 12 15 9
Hence, there are three steps in between.
INPUT - OUTPUT
I.5) The following is an illustration of the input and the steps of rearrangement:
Input: 15 17 35 7 23 11
Step I: 16 15 38 3 28 5
Step II: 3 5 15 16 28 38
Step III: 9 15 45 48 84 114
Step IV: 9 6 9 12 12 6
Step V: 6 6 9 12 12 6
Step V is the output.
Answer the following questions based on the above information.
Solution .5(d)
Step I: 18 21 8 17 50 26
Step II: 8 17 18 21 26 50
Step III: 24 51 54 63 78 150
Step IV: 6 6 9 9 15 6
Step V: 6 6 6 9 9 15
Step V is the output.
INPUT - OUTPUT
I.6 – 10) The following is an illustration of the input and the steps of rearrangement:
Input: one two three four five six seven eight
Step I: three one seven six four two eight five
Step II: seven three eight two six one five four
Step III: eight seven five one two three four six
Step IV: five eight four three one seven six two
Step V: four five six seven three eight two one
Step IV: six four two eight seven five one three,
And so on.
Q.6) Which among the following will be step V for the following input?
Input: March may April July June October January September
[a] July June January October April September May March
[b] March April May June July September October
January
[c] January March April May June July September
October
[d] July June October January April September May March
INPUT - OUTPUT
Input: 1 2 3 4 5 6 7 8
Step I: 3 1 7 6 4 2 8 5
Step II: 7 3 8 2 6 1 5 4
Step III: 8 7 5 1 2 3 4 6
Step IV: 5 8 4 3 1 7 6 2
Step V: 4 5 6 7 3 8 2 1
Step VI: 6
INPUT - OUTPUT
Solution 6. (d)
Let us represent the words in the given input as:
March May April July June October January September
1 2 3 4 5 6 7 8
As shown in the given table, for the input of words 1, 2, 3, 4, 5, 6, 7 and 8 the words in step V are in
the order of 4, 5, 6, 7, 3, 8, 2, 1
i.e., step V is - July June October January April September May March
INPUT - OUTPUT
I.7) The following is an illustration of the input and the steps of rearrangement:
Input: one two three four five six seven eight
Step I: three one seven six four two eight five
Step II: seven three eight two six one five four
Step III: eight seven five one two three four six
Step IV: five eight four three one seven six two
Step V: four five six seven three eight two one
Step IV: six four two eight seven five one three,
And so on.
Q.7) Which among the following will be the input, if step IV of an input is, “fall into hands grip doing
from the view”?
[a] doing grip view hands fall the from into
[b] doing view hands fall hands the from into
[c] doing view grip hands fall the from into
[d] doing hands view grip the fall from into
INPUT - OUTPUT
Input: 1 2 3 4 5 6 7 8
Step I: 3 1 7 6 4 2 8 5
Step II: 7 3 8 2 6 1 5 4
Step III: 8 7 5 1 2 3 4 6
Step IV: 5 8 4 3 1 7 6 2
Step V: 4 5 6 7 3 8 2 1
Step VI: 6
INPUT - OUTPUT
Solution.7) (c)
It is given that step IV of an input is: fall into hands grip doing from the view”.
In the above given table for the input of words 1, 2, 3, 4, 5, 6, 7 and 8, the order of the words in
step IV is 5, 8, 4, 3, 1, 7, 6 and 2.
Step IV: fall into hands grip doing from the view
5 8 4 3 1 7 6 2
And the order of the words in the input will be:
doing view grip hands fall the from into
1 2 3 4 5 6 7 8
INPUT - OUTPUT
I.8) The following is an illustration of the input and the steps of rearrangement:
Input: one two three four five six seven eight
Step I: three one seven six four two eight five
Step II: seven three eight two six one five four
Step III: eight seven five one two three four six
Step IV: five eight four three one seven six two
Step V: four five six seven three eight two one
Step IV: six four two eight seven five one three,
And so on.
Q.8) In which step among the following will the positions of the elements be the same as in the
input?
[a] step IV
[b] step V
[c] step VI
[d] step VIII
INPUT - OUTPUT
Input: 1 2 3 4 5 6 7 8
Step I: 3 1 7 6 4 2 8 5
Step II: 7 3 8 2 6 1 5 4
Step III: 8 7 5 1 2 3 4 6
Step IV: 5 8 4 3 1 7 6 2
Step V: 4 5 6 7 3 8 2 1
Step VI: 6
INPUT - OUTPUT
Solution.8) (d)
In the above given table for the input of words 1, 2, 3, 4, 5, 6, 7, and 8, the order of the words in
step VI is 6, 4, 2, 8, 7, 5, 1, 3
Step VI: 6 4 2 8 7 5 1 3 (these numbers are
arranged in the order of 3, 1, 7, 6, 4, 2, 8, 5)
Step VII: 2 6 1 5 8 4 3 7 (these number
are arranged in the order 3, 1, 7, 6, 4, 2, 8, 5)
Step VIII: 1 2 3 4 5 6 7 8
Hence, in step VIII, the same input repeats as in the output.
INPUT - OUTPUT
I.9) The following is an illustration of the input and the steps of rearrangement:
Input: one two three four five six seven eight
Step I: three one seven six four two eight five
Step II: seven three eight two six one five four
Step III: eight seven five one two three four six
Step IV: five eight four three one seven six two
Step V: four five six seven three eight two one
Step IV: six four two eight seven five one three,
And so on.
Q.9) Which among the following steps has the following rearranged words “doubts then have legs
match join team during” for the input “ during team match doubts then have legs join”?
[a] step V
[b] step VI
[c] step IV
[d] step III
INPUT - OUTPUT
Input: 1 2 3 4 5 6 7 8
Step I: 3 1 7 6 4 2 8 5
Step II: 7 3 8 2 6 1 5 4
Step III: 8 7 5 1 2 3 4 6
Step IV: 5 8 4 3 1 7 6 2
Step V: 4 5 6 7 3 8 2 1
Step VI: 6
INPUT - OUTPUT
Solution.9) (a)
The given input is:
during team match doubts then have legs join
1 2 3 4 5 6 7 8
and the given arranged of words:
doubts then have legs match join team during
4 5 6 7 3 8 2 1
The order of words 4, 5, 6, 7, 3, 8, 2, 1 is obtained in step V.
INPUT - OUTPUT
I.10) The following is an illustration of the input and the steps of rearrangement:
Input: one two three four five six seven eight
Step I: three one seven six four two eight five
Step II: seven three eight two six one five four
Step III: eight seven five one two three four six
Step IV: five eight four three one seven six two
Step V: four five six seven three eight two one
Step IV: six four two eight seven five one three,
And so on.
Q.10) which among the following will be step II, if step IV of an input is “public citizens health where
against action further decided”?
[a] action where citizens decided further against public health
[b] action citizens where decided further against public health
[c] action decided citizens further where against public health
[d] action where further citizens decided against public health
INPUT - OUTPUT
Input: 1 2 3 4 5 6 7 8
Step I: 3 1 7 6 4 2 8 5
Step II: 7 3 8 2 6 1 5 4
Step III: 8 7 5 1 2 3 4 6
Step IV: 5 8 4 3 1 7 6 2
Step V: 4 5 6 7 3 8 2 1
Step VI: 6
INPUT - OUTPUT
Solution.10) (a)
Step IV of an input is “public citizens health where against actions further decided” and the order
if the words in this step is 5, 8, 4, 3, 1, 7, 6 and 2. The order of the words in the step II is 7, 3, 8, 2,
6, 1, 5, 4
Step IV: public citizens health where against action further decided
5 8 4 3 1 7 6 2
Step II: action where citizens decided further against public health
7 3 8 2 6 1 5 4