Model 1: An electronic gadget reworks numbers regulated in a specific request as indicated by an arrangement of standards. The gadget stops when the last result is obtained. For this situation the gadget stops at Step V.
Input: 88 18 38 05 20 99 62 08
Step 1: 99 88 18 38 05 20 62 08
Step 2: 99 88 62 18 38 05 20 08
Step 3: 99 88 62 38 18 05 20 08
Step 4: 99 88 62 38 20 18 05 08
Step 5: 99 88 62 38 20 18 08 05
Then, answer the following questions:
1. Which of the following will be Step 3 for the input below?
Input: 08 24 18 32 34 16 20 05
a) 34 32 24 08 18 16 20 05
b) 34 32 08 24 18 16 20 05
c) 34 08 24 18 32 16 20 05
d) 34 30 08 24 18 19 20 05
2. Which step is the last step for the input below?
Input: 25 08 35 11 88 67 23
Solution:
1. Given
Input: 08 24 18 32 34 16 20 05
Step 1: 34 08 24 18 32 16 20 05
Step 2: 34 32 08 24 18 16 20 05
Step 3: 34 32 24 08 18 16 20 05
So, option(a) is the correct answer.
2. Given
Input: 16 09 25 27 06 05
Step 1: 27 16 09 25 06 05
Step 2: 27 25 16 09 06 05
Therefore, The whole given set of numbers arranged in descending order by step 2 itself. So, step 2 is the last step fro given input.
Model 2: A 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: over go for through at one
Step 1: for over go through at one
Step 2: for go over through at one
Step 3: for go one over through at
Step 4: for go one at over through
1. Input: and do pet to on that
What will be third step for this input?
2. Input: ink hurry yet for the victory
What will be the last step of the above input?
3. Input: If step 4 of an input is 'violet for sour height journey medium',
Which step would be step 2 of the given input?
Solution:
1. Given that
Input: and do pet to on that
Step 1: pet and do to on that
Step 2: pet and to do on that
Step 3: pet and to on do that
Therefore, output will be 'pet and to on do that' in step 3.
2. Given that
Input: ink hurry yet for the victory
Step 1: yet ink hurry for the victory
Step 2: yet for ink hurry the victory
Step 3: yet for victory ink hurry the
Step 4: yet for victory hurry ink the
Step 5: yet for victory hurry the ink
Therefore, 'yet for victory hurry the ink' is the last step.
3. Given that
Step 4: violet for sour height journey medium
step 4 says that these words automatically came to its place during rearrangement, but each of them were replaced at one step.
So, Step 2 must contain only 'violet' and 'for' in the first and second places, and each one of 'sour' and 'height' must lie at any place after 'jumping', so that each of them needs to be rearranged.
Model 3: 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 rearrangement.
Input: in can 24 74 site 39 14 house
Step 1: site in can 24 74 39 14 house
Step 2: site 14 in can 24 74 39 house
Step 3: site 14 can in 24 74 39 house
Step 4: site 14 can 24 in 74 39 house
Step 5: site 14 can 24 house in 74 39
Step 6: site 14 can 24 house 39 in 74
1. Input: tell to you 59 42 74 and 14
Which of the following will be step 3 for the above input?
a) you 14 tell to 59 42 74 and
b) you 14 to tell 59 42 74 and
c) you 14 to 42 tell 59 74 and
d) you 14 to 42 tell 59 and 74
e) None of these.
2. Step 3 of an input is: Red 14 ready 82 74 26 aim life
How many more steps will be required to complete the rearrangement?
3. Step 4 of an input is: when 18 father 33 may know 57 41
How many more steps will be required to complete the rearrangement?
Solution:
1. Given input:
tell to you 59 42 74 and 14
Step 1: you tell to 59 42 74 and 14
Step 2: you 14 tell to 59 42 74 and
Step 3: you 14 to tell 59 42 74 and
Therefore, option(b) is the correct answer as step 3.
2. Given that:
Step 3: red 14 ready 82 74 26 aim life
Step 4: red 14 ready 26 82 74 aim life
Step 5: red 14 ready 26 life 82 74 aim
Step 6: red 14 ready 26 life 74 82 aim
Step 7: red 14 ready 26 life 74 aim 82
Therefore, step 7 is the last step. So, there are four more steps of rearrangement.
3. Given step 4 of input: when 18 father 33 may know 57 41
Step 4: when 18 father 33 may know 57 41
Step 5: when 18 father 33 know may 57 41
Step 6: when 18 father 33 know 41 may 57
Therefore, step 6 is the last step. So, there are two more steps of rearrangement after step 6.
Model 4: The admission ticket for a show bears a secret word which is changed after each clock hour in light of set of words decided for every day. The following is an illustration of the code and steps of rearrangement for subsequent clock hours. The time is 9 a.m. to 3 p.m.
Day's first password :
First Batch --- 9 a.m. to 10 a.m. is not ready cloth simple harmony burning
Second Batch --- 10 a.m. to 11 a.m. ready not is cloth burning harmony simple
Third Batch --- 11 a.m. to 12 noon cloth is not ready simple harmony burning
Fourth Batch --- 12 noon to 1 p.m. not is cloth ready burning harmony simple
Fifth Batch --- 1 p.m. to 2 p.m. ready cloth is not simple harmony burning
and so on.
1. If the password for 6th batch i.e. 2 p.m. to 3 p.m. is - "are trap cut he but say lap", what will be the password for 2nd batch i.e. 10-11 a.m. ?
2. If the batch 2 of the day has the password --- "came along net or else key lot", what would be the password for batch 4 (i.e. 12 noon to 1 p.m.) ?
3. If the password for the first batch was --- "rate go long top we let have", which batch will have the password --- "go rate top long have let we" ?
Solution:
1.
Sixth batch : are trap cut he but say lap
Fifth batch : cut trap are he lap say but
Fourth batch : he are trap cut but say lap
Third batch : trap are he cut lap say but
Second batch : cut he are trap but say lap
In the first step, the first three and the last three letters are written in a reverse order.
Then, the first four and the last three letters are written in a reverse order.
The process is repeated to obtain successive output steps.
Therefore, 'cut he are trap but say lap' is the output for second batch.
2. Input: came along net or else key lot
Second batch : came along net or else key lot
Third batch : or net along came lot key else
Fourth batch : along net or came else key lot
Therefore, 'along net or came else key lot' is the output for fourth batch.
3.First batch : rate go long top we let have
Second batch : long go rate top have let we
Third batch : top rate go long we let have
Fourth batch : go rate top long have let we
Therefore, batch fourth will have the output 'go rate top long have let we'.
Model 5: A word game plan machine, when given an info line of words, revises them taking after a specific guideline in every step. The following is a illustration of information and the steps reworking. (also, Step VII is the last step for this information)
According to the principles followed in the above steps, find out in the given questions the fitting step for the given information/input.
Input : Go for to Though By easy To Access at
Step 1: Access Go for to Though By easy To at
Step 2: Access at Go for to Though By easy To
Step 3: Access at By Go for to Though easy To
Step 4: Access at By easy Go for to Though To
Step 5: Access at By easy for Go to Though To
Step 6: Access at By easy for Go Though to To
Step 7: Access at By easy for Go Though To to
1. Input : every and peer to an for
Which of the following steps would be'an and every for peer to' ?
2. Input : Together over series on feast the so
Which of the following steps will be the last but one ?
Solution:
1. Given Input: every and peer to an for
Step 1: an every and peer to for
Step 2: an and every peer to for
Step 3: an and every for peer to
Therefore, for step 3, the output is 'an and every for peer to'.
2. Given input: Together over series on feast the so
Here the words have been arranged alphabetically in a sequence, altering the position of only one word in each step.
Input : Together over series on feast the so
Step 1: feast Together over series on the so
Step 2: feast on Together over series the so
Step 3: feast on over Together series the so
Step 4: feast on over series Together the so
Step 5: feast on over series so Together the
Step 6: feast on over series so the Together
Therefore, 'feast on over series so the Together' is the output for last step.