Directions: Read the following information carefully and answer the question 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 rearrangement.
Input - 503 environment 955 device 300 chain 481 engine 321 696 conversation
Step-1: 300 503 environment 955 device chain 481 engine 321 696 conversation
Step-2: 300 503 environment 955 device 481 engine 321 696 conversation chain
Step-3: 300 321 503 environment 955 device 481 engine 696 conversation chain
Step-4: 300 321 481 503 environment 955 device engine 696 conversation chain
Step-5: 300 321 481 503 environment 955 engine 696 device conversation chain
Step-6: 300 321 481 503 environment 955 696 engine device conversation chain
Step-7: 300 321 481 503 696 environment 955 engine device conversation chain
Step-8: 300 321 481 503 696 955 environment engine device conversation chain
Step-8 is the last step of the given input.
Answer the following questions for the below input:
Input - cigarette practice 432 223 641 draft 754 705 case 756 front
What is the position of the element '705' in step-4 from the left?
  • a)
    Ten
  • b)
    Eight
  • c)
    Six
  • d)
    Three
  • e)
    Seven
Correct answer is option 'E'. Can you explain this answer?

Related Test

Answers

Deepti Jindal
Feb 10, 2022
Observe the output given for the following input. It can be seen that the numbers are arranged according to their value in increasing order from the leftmost side and the words are arranged alphabetically in increasing order seen from the rightmost side. The numbers and words are sorted alternatively in each step such that, in the first step the number is placed at its correct position from left and in the next step the correct word is placed at the correct position from right. The arrangement continues until all the elements are arranged at correct positions.
Input- cigarette practice 432 223 641 draft 754 705 case 756 front
Step-1: 223 cigarette practice 432 641 draft 754 705 case 756 front
Step-2: 223 cigarette practice 432 641 draft 754 705 756 front case
Step-3: 223 432 cigarette practice 641 draft 754 705 756 front case
Step-4: 223 432 practice 641 draft 754 705 756 front cigarette case
Step-5: 223 432 641 practice draft 754 705 756 front cigarette case
Step-6: 223 432 641 practice 754 705 756 front draft cigarette case
Step-7: 223 432 641 705 practice 754 756 front draft cigarette case
Step-8: 223 432 641 705 754 756 practice front draft cigarette case
Step-8 is the last step of the given input.
Step-4: 223 432 practice 641 draft 754 705 756 front cigarette case
'705' is seventh from the left.

Observe the output given for the following input. It can be seen that the numbers are arranged according to their value in increasing order from the leftmost side and the words are arranged alphabetically in increasing order seen from the rightmost side. The numbers and words are sorted alternatively in each step such that, in the first step the number is placed at its correct position from left and in the next step the correct word is placed at the correct position from right. The arrangement continues until all the elements are arranged at correct positions.Input- cigarette practice 432 223 641 draft 754 705 case 756 frontStep-1: 223 cigarette practice 432 641 draft 754 705 case 756 frontStep-2: 223 cigarette practice 432 641 draft 754 705 756 front caseStep-3: 223 432 cigarette practice 641 draft 754 705 756 front caseStep-4: 223 432 practice 641 draft 754 705 756 front cigarette caseStep-5: 223 432 641 practice draft 754 705 756 front cigarette caseStep-6: 223 432 641 practice 754 705 756 front draft cigarette caseStep-7: 223 432 641 705 practice 754 756 front draft cigarette caseStep-8: 223 432 641 705 754 756 practice front draft cigarette caseStep-8 is the last step of the given input.Step-4: 223 432 practice 641 draft 754 705 756 front cigarette case'705' is seventh from the left.
Observe the output given for the following input. It can be seen that the numbers are arranged according to their value in increasing order from the leftmost side and the words are arranged alphabetically in increasing order seen from the rightmost side. The numbers and words are sorted alternatively in each step such that, in the first step the number is placed at its correct position from left and in the next step the correct word is placed at the correct position from right. The arrangement continues until all the elements are arranged at correct positions.Input- cigarette practice 432 223 641 draft 754 705 case 756 frontStep-1: 223 cigarette practice 432 641 draft 754 705 case 756 frontStep-2: 223 cigarette practice 432 641 draft 754 705 756 front caseStep-3: 223 432 cigarette practice 641 draft 754 705 756 front caseStep-4: 223 432 practice 641 draft 754 705 756 front cigarette caseStep-5: 223 432 641 practice draft 754 705 756 front cigarette caseStep-6: 223 432 641 practice 754 705 756 front draft cigarette caseStep-7: 223 432 641 705 practice 754 756 front draft cigarette caseStep-8: 223 432 641 705 754 756 practice front draft cigarette caseStep-8 is the last step of the given input.Step-4: 223 432 practice 641 draft 754 705 756 front cigarette case'705' is seventh from the left.