Machine Input-Output - Beginner-Intermediate Level: logical machines BEGINNER-INTERMEDIATE

Intensive quick response training 🎯 drill: 20 beginner-intermediate-level machine input-output questions. Worksheet 10 of 30 hones your logical machines abilities. Practice algorithmic transformation, machine operations, output determination under timed conditions. Best for developing students seeking building on fundamentals with moderate challenges.

📝 Worksheet 10 of 30 • 20 questions • ⏱️ Estimated time: 20 minutes • 🎯 Beginner-intermediate level

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

Question 1

Study the pattern: Input: apple cat umbrella dog Output: apple umbrella cat dog Now, what will be the output for: Input: apple cat ball dog
The machine applies 'vowel_first' rule.
apple cat ball dog → apple cat ball dog

Question 2

Study the pattern: Input: cat dog bat ant Output: ant bat cat dog Now, what will be the output for: Input: grape zebra apple mango
The machine applies 'alphabetical_sort' rule.
grape zebra apple mango → apple grape mango zebra

Question 3

Input: BRAIN Final Output: ojbsc What is the correct sequence of operations?
The operations applied in order: Lowercase → Shift +1 → Reverse

Question 4

Study the pattern: Input: 42 15 78 23 Output: 15 23 42 78 Now, what will be the output for: Input: 32 15 74 92
The machine applies 'numbers_ascending' rule.
32 15 74 92 → 15 32 74 92

Question 5

Input: bat umbrella 19 dog 28 55 cat Rule: Words with length >4 go to left, others to right How many elements satisfy the condition?
Elements satisfying the condition: umbrella
Count = 1

Question 6

Input: cat 37 elephant 55 apple ice 19 Step 1: Check condition for each element Step 2: Elements satisfying condition: elephant apple ice Step 3: Rearranged output: elephant apple ice 37 55 19 cat What is the final output?
Final output after conditional rearrangement: elephant apple ice 37 55 19 cat

Question 7

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

Question 8

Study the pattern: Input: cat dog bat ant Output: ant bat cat dog Now, what will be the output for: Input: zebra banana grape mango
The machine applies 'alphabetical_sort' rule.
zebra banana grape mango → banana grape mango zebra

Question 9

Machine Input: Row 1: sun galaxy star Row 2: green purple red Rule: Words are paired by total length (shortest pairs first) Step 1: Pair by length → Row 1: star sun galaxy Step 2: Row 2: red green purple What is the final arrangement?
Final output:
Row 1: star sun galaxy
Row 2: red green purple

Question 10

Input: 12 19 fox umbrella dog 37 cat Rule: Words with length >4 go to left, others to right How many elements satisfy the condition?
Elements satisfying the condition: umbrella
Count = 1

Question 11

Input: grape peach apple 38 25 41 89 banana Step 1: peach apple 38 25 grape 41 89 banana Step 2: apple 38 25 grape 41 89 peach banana Step 3: apple 25 grape 38 41 89 peach banana ... What is the final output?
Final output: apple 25 banana 38 grape 41 peach 89

Question 12

Study the pattern: Input: elephant cat dog ant Output: ant cat dog elephant Now, what will be the output for: Input: a hi to butterfly
The machine applies 'length_sort' rule.
a hi to butterfly → a hi to butterfly

Question 13

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 14

Machine Input: Row 1: star sun galaxy Row 2: red blue 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 red What is the final arrangement?
Final output:
Row 1: galaxy star sun
Row 2: blue green red

Question 15

Study the pattern: Input: hello world Output: Hello World Now, what will be the output for: Input: logic world hello
The machine applies 'first_letter_caps' rule.
logic world hello → Logic World Hello

Question 16

Input: BRAIN Step 1 (Lowercase): brain What is the final output after all operations?
Final output after applying Lowercase, Shift +1: csbjo

Question 17

Study the pattern: Input: apple cat umbrella dog Output: apple umbrella cat dog Now, what will be the output for: Input: ice cat dog apple
The machine applies 'vowel_first' rule.
ice cat dog apple → ice apple cat dog

Question 18

Step 1: Step 1: berry grape 67 mango 38 apple 56 73 Step 2: Step 2: grape 67 berry mango 38 apple 56 73 What was the original Input?
The original input was: 73 berry grape 67 mango 38 apple 56

Question 19

Input: A H C E G B Step 1: A H C E G B Step 2: A C G H E B Step 3: A G E C H B What is Step 4?
Step 4: Step 4: A E H G C B

Question 20

Study the pattern: Input: elephant cat dog ant Output: ant cat dog elephant Now, what will be the output for: Input: a to butterfly hi
The machine applies 'length_sort' rule.
a to butterfly hi → a to hi butterfly
Previous Worksheet Next Worksheet