Sequential Output Tracing

https://groups.etown.edu/caap/files/2012/02/Input-Output-Event-Logo.jpgA word arrangement machine when given an input line of words rearranges it in every step following a certain rule. Following is an illustration of an input line of words and various steps of rearrangement:


Input: gone are take enough brought station
Step I: take gone are enough brought station
Step II: take are gone enough brought station
Step III: take are station gone enough brought
Step IV: take are station brought gone enough
And, Step IV is the last step for this input. Now find out appropriate step in each of the following questions following the above rule
1. Input: car on star quick demand fat
What will be the third step for this input?
a) star car quick demand on fat
b) star quick car demand on fat
c) star car demand quick on fat
d) star car quick on demand fat
e) None of these
2)  If step III is “ultra barrack save enough party lying”
Which of the following would be the input?
a) ultra enough party save barrack lying
b) ultra barrack enough party save lying
c) ultra enough barrack save party lying
d) enough ultra barrack save party lying
e) Cannot be determined
3)  If step IV of input is “violet for sour height journey medium”
Which of the following would be Step II of that input ?
a) violet journey height for sour medium
b) violet for sour journey height medium
c) violet for journey height sour medium
d) violet for sour height journey medium
e) Cannot be determined
4)  If step III of an input is “warden examination town ink garden restore”. what would be “warden ink town garden restore examination” ?
a) I
b) II
c) IV
d) V
e) None of these
5)  Input : ink hurry yet for the victory
Which of the following will be the last step of the above input?
a) III
b) IV
c) V
d) VI
e) None of these
(6-10)A word and number arrangement machine when given an input line of words and numbers to be rearranged them following a particular rule. The following is an illustration of input and rearrangement.D.6-10) Study the following information carefully to answer the given questions.
Input: effective 93 67 bill investment 21 47 foreign direct 33
Step I: bill effective 67 investment 21 47 foreign direct 33 93
Step II: direct bill effective investment 21 47 foreign 33 93 67
Step III: foreign direct bill effective investment21 33 93 67 47
Step IV: effective foreign direct bill investment 21 93 67 47 33
Step V: investment effective foreign direct bill 93 67 47 33 21 Step V is the last step of the rearrangement.
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: retail 58 May 87 31 companies infrastructure 62 48 foreign spoil 21
6)  Which steps number will be the following output?
Foreign retail spoil may 31 companies infrastructure 21 87 62 58 48
a) II
b) III
c) IV
d) Data Insufficient
e) None of these
7) Which of the following will be at seventh position from the right in step VI?
a) company
b) 87
c) infrastructure
d) may
e) None of these
8) Which of the following will be the last step of the rearrangement?
a) V
b) VI
c) VII
d) VIII
e) None of these
9) Which of the following will be step V?
a) foreign retail spoil may 31 companies infrastructure 21 87 62 5848
b) companies foreign retail spoil may infrastructure 21 8762584831
c) companies foreign retail spoil may 31 infrastructure 218762 5848
d) foreign companies retail spoil may 31 infrastructure 21 8762 5848
e) None of these
10) In step II of the rearrangement, if ‘infrastructure’ is related to ’31’ and ’48’ is related to `companies’ in a certain way, which of the following would `foreign’ be related to, following the same pattern?
a) company
b) infrastructure
c) 62
d) 87
e) None of these
Directions (1-5) 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: more presence required 12 42 70 for 63 37 good work 28
Step I: for 70 more presence required 12 42 63 37 good work 28
Step II: good 63 for 70 more presence required 12 42 37 work 28
Step III: more 42 good 63 for 70 presence required 12 37 work 28
Step IV: presence 37 more 42 good 63 for 70 required 12 work 28
Step V: required 28 presence 37 more 42 good 63 for 70 12 work
Step VI: work 12 required 28 presence 37 more 42 good 63 for 70
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 for the questions:
Money 48 24 18 wanted for investment 65 90 lock credit 32
1) Which step number is the following output?
‘lock 32 investment 48 for 65 credit 90 money 24 18 wanted’
(a) Step II
(b) Step III
(c) Step IV
(d) Step V
(e) There is no such step
2) Which word/ number would be fourth from the left in Step IV?
(a) for
(b) 48
(c) 65
(d) 32
(e) credit
3) Which word/ number would be second to the right of the fifth element from the left in Step V?
(a) for
(b) 65
(c) 48
(d) investment
(e) 32
4) How many elements (words/ numbers) are there between “for” and “18” in Step III?
(a) four
(b) Three
(c) six
(d) seven
(e) five
5) Which of the following represents the position of “credit” in Step V?
(a) third from the right
(b) fifth from the left
(c) sixth from the left
(d) fourth from the right
(e) sixth from the right
Directions (6-10) 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: 11 day 34 night 93 pace 27 easy 44 joy
Step I: 93 11 day 34 night pace 27 easy 44 joy
Step II: 93 11 34 day night pace 27 easy 44 joy
Step III: 93 44 11 34 night pace 27 easy joy day
Step IV: 93 44 11 34 night pace 27 joy day easy
Step V: 93 44 34 11 night pace 27 joy day easy
Step VI: 93 44 34 11 night pace 27 day easy joy
Step VII: 93 44 34 27 11 night pace day easy joy
Step VIII: 93 44 34 27 11 pace day easy joy night
Step IX: 93 44 34 27 11 day easy joy night pace
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 for the questions:
Class 25 war 15 race 73 heap 58 just 88 take 38
6) What is the position of ‘war’ in the Step VII?
(a) seventh from the left end
(b) eighth from the right end
(c) fifth from the left end
(d) fifth from the right end
(e) sixth from the left end
7) Which of the following is the ninth from the right in step VI?
(a) race
(b) 25
(c) war
(d) 58
(e) 15
8) What is the position of ‘15’ in the step IX?
(a) Seventh from the left end
(b) Eighth from the left end
(c) Fifth from the right end
(d) Seventh from the right end
(e) Eighth from the right end
9) How many steps are required to complete this arrangement?
(a) 11
(b) 12
(c) 10
(d) 9
(e) None of these
10) Which of the following represents the step X?
(a) 88 73 58 38 25 war 15 race take class heap just
(b) 88 73 58 38 25 15 class heap just race take war
(c) 88 73 58 38 25 15 war class heap just race take
(d) 88 73 58 38 25 15 war take class heap just race
(e) There is no such step
Answer
1) (c)            2) (b)           3) (a)           4) (e)           5) (d)
6) (e)           7) (b)           8) (d)           9) (a)           10) (c)
Explanation
(1-5)
After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and a number are rearranged. In the first step, the word which comes the first in English alphabetical series and the highest number move to the extreme left positions. In the second step, the word which comes to second in English alphabetical series and the second highest number are moved to the extreme left positions. The same procedure is continued till all the words are arranged in the reverse alphabetical order from left to right and all the numbers get arranged in ascending order.
Input: Money 48 24 18 wanted for investment 65 90 lock credit 32
Step I: credit 90 Money 48 24 18 wanted for investment 65 lock 32
Step II: for 65 credit 90 Money 48 24 18 wanted investment lock 32
Step III: investment 48 for 65 credit 90 Money 24 18 wanted lock 32
Step IV: lock 32 investment 48 for 65 credit 90 Money 24 18 wanted
Step V: Money 24 lock 32 investment 48 for 65 credit 90 18 wanted
Step VI: wanted 18 Money 24 lock 32 investment 48 for 65 credit 90
And, Step VI is the last step for the given input.
1) (c)
This is step IV.
2) (b)
Fourth from the left in Step IV = 48
3) (a)
Fifth element from the left in step V = investment
Second to the right of ‘investment’ = for
4) (e)
There are 5 elements (65, credit, 90, money, 24) between ‘for’ and ‘18’ in the step III.
5) (d)
Fourth from the right.
(6-10)
After careful analysis of the given input and various steps of rearrangement it is evident that in the first step the highest number is placed at the extreme left position and in the second step the word which comes first in the alphabetical order is placed at the extreme right position. In the next step the second highest number is placed at the second position from the left. After that step the word which comes second in the alphabetical order is placed at the extreme right position. These two steps are continued alternately till all the numbers get arranged in the descending order from the left and all the words get arranged in alphabetical order after the numbers.
Input: Class 25 war 15 race 73 heap 58 just 88 take 38
Step I: 88 Class 25 war 15 race 73 heap 58 just take 38
Step II: 88 25 war 15 race 73 heap 58 just take 38 class
Step III: 88 73 25 war 15 race heap 58 just take 38 class
Step IV: 88 73 25 war 15 race just take 38 class heap
Step V: 88 73 58 25 war 15 race just take 38 class heap
Step VI: 88 73 58 25 war 15 race take 38 class heap just
Step VII: 88 73 58 38 25 war 15 race take class heap just
Step VIII: 88 73 58 38 25 war 15 take class heap just race
Step IX: 88 73 58 38 25 15 war take class heap just race
Step X: 88 73 58 38 25 15 war class heap just race take
Step XI: 88 73 58 38 25 15 class heap just race take war
And, step XI is the last step.
6) (e)
The word ‘war’ is sixth from the left end in step VIII.
7) (b)
‘25’ is the ninth from the right in step VI.
8) (d)
‘15’ is seventh from the right end in step IX.
9) (a)
Eleven steps were required to complete the arrangement.
10) (c)
Option (c) is the step X.

PRACTICE SET

  1. SET 001
  2. SET 002
Previous Post Next Post