Answer the questions based on the following information.
A word arrangement machine, when given a particular input, rearranges it following a particular rule. Following is the illustration of the input and the steps of arrangement:
Input: She was interested in doing art film
Step 1: art she was interested in doing film
Step 2: art was she interested in doing film
Step 3: art was in she interested doing film
Step 4: art was in film she interested doing
Step 5: art was in film doing she interested
Step 5 is the last step of the given input. Now study the logic and rules followed in the above steps, find out appropriate step for the question given below for the given input.
Which of the following will be the last step for the input given below?
Input: he is going out to search air
The arrangement is made by the last letter of each word.
The last letters of the seven words of the sample sequence input were e, s, d, n, g, t, and m.
In the final step, the words were arranged as t, s, n, m, g, d, and e, i.e., in descending order.
Now, the last letters of the seven words of the input in the questions are e, s, g, t, o, h, and r.
In the final step, the words will be arranged in the order of t, s, r, o, h, g, and e.
Option B represents the last step's accurate representation, and the correct option is B.
Create a FREE account and get: