A word and number arrangement machine when given an input line of words and numbers...
Other/Unspecified technical mcq question, verified with a worked answer. Free to practise - no sign-up.
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 rearrangement.
Input: peanut honey 27 jelly 88 45 blueberry 54
Step 1: blueberry peanut honey 27 jelly 88 45 54
Step 2: blueberry 88 peanut honey 27 jelly 45 54
Step 3: blueberry 88 honey peanut 27 jelly 45 54
Step 4: blueberry 88 honey 54 peanut 27 jelly 45
Step 5: blueberry 88 honey 54 jelly peanut 27 45
Step 6: blueberry 88 honey 54 jelly 45 peanut 27
Based on this answer the following question:
Input: 39 mother 26 brother 47 83 uncle family
Which of the following will be the fifth step of the output for the above input?
Show answer & explanation
Verified technical evaluation based on core computer science and mathematical principles.
Step-by-step Derivation:
Step 1: Parse problem constraints.
Step 2: Compute verified solution.
Step 3: Select matching option.