A word-and-number arrangement machine rearranges a given input following a specific rule in each step. The rule involves moving the alphabetically smallest word to the leftmost side and the numerically largest number to the rightmost side in each step. The process continues until all words are arranged in alphabetical order at the left end, and all numbers in descending order at the right end.
Based on the pattern, answer the questions that follow the given input.
Input: Dream 73 Alpha Beta 40 94 20 Code
Question: Which is the correct final arrangement?
- AOption (a)
Alpha Dream Beta Code 94 73 40 20
- BOption (b)
Alpha Beta Dream Code 94 73 40 20
- COption (c)
Alpha Beta Code Dream 73 94 40 20
- DOption (d)
Alpha Beta Code Dream 94 73 40 20
View answer & explanationHide answer & explanation
Correct answer
Alpha Beta Code Dream 94 73 40 20
Why this answer is correct
The Logic followed here is,
The rule is to move the alphabetically smallest word to the left and the numerically largest number to the right in each step. This process continues until all words are sorted alphabetically and all numbers are in descending order.
Input
Dream 73 Alpha Beta 40 94 20 Code
Step 1: Sorting the words
The words in the input are: Dream, Alpha, Beta, Code.
Arranged alphabetically, they are: Alpha, Beta, Code, Dream.
Step 2: Sorting the numbers
The numbers in the input are: 73, 40, 94, 20.
Arranged in descending order, they are: 94, 73, 40, 20.
Final Arrangement
The final arrangement, with all words sorted alphabetically followed by all numbers in descending order, is:
Alpha Beta Code Dream 94 73 40 20
This final arrangement matches Option 4.
Hence, the correct answer is "Option 4".