Machine Input:
Row 1: sun galaxy planet
Row 2: purple red green
Rule: Elements at same positions are swapped between rows
Step 1: Swap positions → Row 1: purple red green
Step 2: Row 2: sun galaxy planet
What is the final arrangement?
Machine Input:
Row 1: star sun galaxy
Row 2: blue purple green
Rule: Vowel-starting words first (sorted), then consonant-starting words (sorted)
Step 1: Separate vowels/consonants
Step 2: Row 1 → galaxy star sun
Step 3: Row 2 → blue green purple
What is the final arrangement?
Final output: Row 1: galaxy star sun Row 2: blue green purple
Question 13
Machine Input:
Row 1: planet galaxy star
Row 2: yellow green red
Rule: Elements at same positions are swapped between rows
Step 1: Swap positions → Row 1: yellow green red
Step 2: Row 2: planet galaxy star
What is the final arrangement?
Input: FOCUS
Final Output: PPDDVVTTGG
What is the correct sequence of operations?
The operations applied in order: First to End → Double Letters → Shift +1
Question 15
Input: ice 19 12 dog umbrella apple 55
Step 1: Check condition for each element
Step 2: Elements satisfying condition: ice umbrella apple
Step 3: Rearranged output: ice umbrella apple 19 12 55 dog
What is the final output?
Final output after conditional rearrangement: ice umbrella apple 19 12 55 dog
Question 16
Input: F E A D B H
Step 1: F E A D B H
Step 2: F A B E D H
Step 3: F B D A E H
What is Step 4?
Step 4: Step 4: F D E B A H
Question 17
Input: WORLD
Step 1 (Double Letters): WWOORRLLDD
What is the final output after all operations?
Final output after applying Double Letters, Shift +1: XXPPSSMMEE
Question 18
Input: 37 dog 19 apple cat elephant 55
Step 1: Check condition for each element
Step 2: Elements satisfying condition: apple elephant
Step 3: Rearranged output: apple elephant 37 19 55 dog cat
What is the final output?
Final output after conditional rearrangement: apple elephant 37 19 55 dog cat
Question 19
Study the pattern:
Input: 42 15 78 23
Output: 15 23 42 78
Now, what will be the output for:
Input: 89 27 81 46