This deep dive ★ worksheet contains 20 beginner-intermediate-level machine input-output problems. Worksheet 11 of 30 focuses on sequential processing. Practice machine operations, output determination, input processing with our step-by-step solutions. Difficulty: building on fundamentals with moderate challenges. Recommended for developing learners.
Input: apple umbrella 28 19 37 elephant dog
Rule: Words starting with vowel go to left, consonant words to right
How many elements satisfy the condition?
Elements satisfying the condition: apple umbrella elephant Count = 3
Question 2
Input: apple 38 berry 89 peach 25 67 banana
Step 1: apple berry 89 peach 25 38 67 banana
Step 2: apple 89 berry peach 25 38 67 banana
Step 3: apple berry peach 25 38 67 banana 89
...
What is the final output?
Final output: apple banana berry peach 25 38 67 89
Question 3
Input: fox dog 37 umbrella 28 ice 45
Step 1: Check condition for each element
Step 2: Elements satisfying condition:
Step 3: Rearranged output: fox dog umbrella ice 37 28 45
What is the final output?
Final output after conditional rearrangement: fox dog umbrella ice 37 28 45
Question 4
Machine Input:
Row 1: planet star moon
Row 2: yellow green purple
Rule: Words are paired by total length (shortest pairs first)
Step 1: Pair by length → Row 1: star moon planet
Step 2: Row 2: green purple yellow
What is the final arrangement?
Final output: Row 1: star moon planet Row 2: green purple yellow
Question 5
Input: fox 45 55 15 pig cat
Step 1: 45 55 15 fox pig cat
Step 2: 55 45 15 fox pig cat
What is Step 3 output?
Following the pattern: Step 3: 45 15 55 fox pig cat
Question 6
Input: H D E A F G
Step 1: H D E A F G
Step 2: H E F D A G
What is Step 3?
Step 3: Step 3: H F A E D G
Question 7
Input: GREEN BLUE BLACK ORANGE PINK RED
Step 1: GREEN BLUE BLACK ORANGE PINK RED
Step 2: GB BO PR
Step 3: GB PR
What is Step 4?
Step 4: Step 4: GP
Question 8
Input: plum 56 cherry 12 67 banana 41 grape
Step 1: 56 cherry 12 67 banana 41 grape plum
Step 2: cherry 12 56 67 banana 41 grape plum
Step 3: 12 56 67 banana 41 cherry grape plum
...
How many steps will the machine take to complete the rearrangement?
The machine takes 8 steps to complete the rearrangement.
Question 9
Machine Input:
Row 1: sun planet star
Row 2: purple yellow red
Rule: Vowel-starting words first (sorted), then consonant-starting words (sorted)
Step 1: Separate vowels/consonants
Step 2: Row 1 → planet star sun
Step 3: Row 2 → purple red yellow
What is the final arrangement?
Final output: Row 1: planet star sun Row 2: purple red yellow
Question 10
Study the pattern:
Input: hello world
Output: Hello World
Now, what will be the output for:
Input: python logic hello
Machine Input:
Row 1: galaxy moon star
Row 2: green red purple
Rule: Words are paired by total length (shortest pairs first)
Step 1: Pair by length → Row 1: moon star galaxy
Step 2: Row 2: red purple green
What is the final arrangement?
Final output: Row 1: moon star galaxy Row 2: red purple green
Question 12
Input: BRAIN
Step 1 (Reverse): NIARB
Step 2 (Remove Vowels): NRB
What is the final output after all operations?
Final output after applying Reverse, Remove Vowels, First to End: RBN
Question 13
Input: 55 umbrella 37 apple 19 dog ice
Step 1: Check condition for each element
Step 2: Elements satisfying condition:
Step 3: Rearranged output: umbrella apple dog ice 55 37 19
What is the final output?
Final output after conditional rearrangement: umbrella apple dog ice 55 37 19
Question 14
Input: ice 19 55 cat fox 45 bat
Step 1: Check condition for each element
Step 2: Elements satisfying condition:
Step 3: Rearranged output: ice cat fox bat 19 55 45
What is the final output?
Final output after conditional rearrangement: ice cat fox bat 19 55 45
Question 15
Input: cat umbrella fox 55 37 ice 12
Step 1: Check condition for each element
Step 2: Elements satisfying condition:
Step 3: Rearranged output: cat umbrella fox ice 55 37 12
What is the final output?
Final output after conditional rearrangement: cat umbrella fox ice 55 37 12
Input: PINK WHITE YELLOW ORANGE RED GREEN
Step 1: PINK WHITE YELLOW ORANGE RED GREEN
Step 2: PW YO RG
What is Step 3?
Step 3: Step 3: PY RG
Question 18
Input: banana apple plum 41 mango 73 12 56
Step 1: apple banana plum 41 mango 73 12 56
Step 2: apple banana 41 plum mango 73 12 56
Step 3: apple banana plum mango 73 41 12 56
...
How many steps will the machine take to complete the rearrangement?
The machine takes 6 steps to complete the rearrangement.
Question 19
Machine Input:
Row 1: planet star sun
Row 2: green purple red
Rule: Words are paired by total length (shortest pairs first)
Step 1: Pair by length → Row 1: sun star planet
Step 2: Row 2: red purple green
What is the final arrangement?
Final output: Row 1: sun star planet Row 2: red purple green
Question 20
Input: rat 15 cow 25 pig 35
Step 1: 15 cow 25 rat pig 35
Step 2: cow 25 15 rat pig 35
Step 3: 25 15 rat pig cow 35
...
What is the final output after complete rearrangement?