Machine Input-Output - Intermediate Level: algorithmic transformation INTERMEDIATE

Comprehensive weakness targeting worksheet covering 20 intermediate-level machine input-output problems. Worksheet 18 of 30 emphasizes algorithmic transformation. Master machine operations, output determination, input processing through detailed explanations. Difficulty: moderate complexity with mixed patterns. Tailored for mid-level preparation.

📝 Worksheet 18 of 30 • 20 questions • ⏱️ Estimated time: 20 minutes • 🎯 Intermediate level

What you'll learn in this worksheet:
Your progress through Machine Input-Output
Worksheet 18 of 30 (60% complete)

Question 1

Study the pattern: Input: hello world python Output: olleh dlrow nohtyp Now, what will be the output for: Input: ruby java python
The machine applies 'reverse_words' rule.
ruby java python → ybur avaj nohtyp

Question 2

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?
Final output:
Row 1: ['purple', 'red', 'green']
Row 2: ['sun', 'galaxy', 'planet']

Question 3

Study the pattern: Input: hello world python Output: olleh dlrow nohtyp Now, what will be the output for: Input: cplus php java
The machine applies 'reverse_words' rule.
cplus php java → sulpc php avaj

Question 4

Input: 56 38 plum 41 73 cherry berry peach Step 1: 38 plum 41 73 cherry 56 berry peach What is Step 2 output?
Step 2: Step 2: plum 38 41 73 cherry 56 berry peach

Question 5

Step 1: Step 1: 38 41 56 berry mango 73 cherry banana Step 2: Step 2: 38 41 56 mango 73 berry cherry banana What was the original Input?
The original input was: 38 41 56 cherry berry mango 73 banana

Question 6

Input: elephant 19 umbrella bat 12 28 dog Rule: Words with length >4 go to left, others to right Which elements satisfy the condition?
Elements satisfying the condition: elephant umbrella

Question 7

Step 1: Step 1: 25 grape 12 plum mango 38 67 apple Step 2: Step 2: grape 12 plum 25 mango 38 67 apple What was the original Input?
The original input was: mango 25 grape 12 plum 38 67 apple

Question 8

Input: CODE Step 1 (Lowercase): code What is the output after 1 operation(s)?
After 1 operation(s): CODE

Question 9

Input: hen 25 55 pig bat 65 Step 1: 25 hen 55 pig bat 65 Step 2: hen 55 pig 25 bat 65 What is Step 3 output?
Following the pattern: Step 3: 55 hen pig 25 bat 65

Question 10

Input: WORLD Step 1 (Shift +1): XPSME What is the final output after all operations?
Final output after applying Shift +1, Lowercase: xpsme

Question 11

Input: 10 70 20 40 50 80 Step 1: 10 70 20 40 50 80 Step 2: 70 20 50 10 40 80 Step 3: 20 50 40 70 10 80 What is Step 4?
Step 4: Step 4: 50 40 10 20 70 80

Question 12

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?
Final output:
Row 1: ['yellow', 'green', 'red']
Row 2: ['planet', 'galaxy', 'star']

Question 14

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
The machine applies 'numbers_ascending' rule.
89 27 81 46 → 27 46 81 89

Question 20

Input: 25 35 hen 15 pig bat Step 1: 35 25 hen 15 pig bat Step 2: 25 hen 35 15 pig bat What is Step 3 output?
Following the pattern: Step 3: hen 25 35 15 pig bat
Previous Worksheet Next Worksheet