Discussions
Vivek Tomar

· started a discussion

· 1 Months ago

give me detail of this solution

Question:

DIRECTIONS: A word and number arrangement machine when given an input of set of words or numbers or combination of both, rearranges them following a particular pattern in each step. The following is an illustration of the input and the steps of rearrangement.


Input : 72 prevention 39 better than 20 cure 83

Step I: Cure 72 prevention 39 better than 20 83

Step II : Cure 20 72 prevention 39 better than 83

Step III : Cure 20 than 72 prevention 39 better  83

Step IV : Cure 20 than 39 72 prevention better 83

Step V :  Cure 20 than 39 better 72 prevention 83


Step V is the final output for the given input.


In accordance with the rule followed above, answer the following questions.
If the input is “for 71 try 58 do 79 to” then how many steps are required to get the output?
Options:
A) One 
B) Two
C) Three
D) Five 
E) None of these 
Solution:

Ans : (d) The words are arranged according to the number of letters and if the words have same number of letter, then they are arranged in the alphabetical order. The numbers are arranged in the ascending order.


The given input is

Input :   for 71 try 58 do 79 to

Step I :  do for 71 try 58 79 to

Step II : do 58 for 71 try 19 to

Step III : do 58 to for 71 try 79

Step IV : do 58 to 71 for try 79

Step V :  do 58 to 71 for 79 try.


Hence, five steps are required to get the output.

Knowledge Expert

· commented

· 1 Months ago

Dear student,
We have done the required changes.

Best wishes
Team TopRankers

All Rights Reserved Top Rankers