Machine Input-Output - Beginner-Intermediate Level: machine rules BEGINNER-INTERMEDIATE

Quick intensive drill ★ session: 20 beginner-intermediate-level machine input-output questions. Worksheet 7 of 30 - Focus: machine rules. Practice machine rules, automation logic, step-wise processing with instant feedback. Great for developing students needing building on fundamentals with moderate challenges practice.

📝 Worksheet 7 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 7 of 30 (23% complete)

Question 1

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

Question 2

Input: H B F D A C Step 1: H B F D A C Step 2: H F A B D C Step 3: H A D F B C What is Step 4?
Step 4: Step 4: H D B A F C

Question 3

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

Question 4

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

Question 5

Input: FOCUS Step 1 (Shift +1): GPDVT Step 2 (Uppercase): GPDVT What is the output after 2 operation(s)?
After 2 operation(s): GPDVT

Question 6

Input: ALERT Step 1 (Double Letters): AALLEERRTT What is the output after 1 operation(s)?
After 1 operation(s): LLRRTT

Question 7

Input: ORANGE RED PINK GREEN BLUE BLACK Step 1: ORANGE RED PINK GREEN BLUE BLACK Step 2: OR PG BB Step 3: OP BB What is Step 4?
Step 4: Step 4: OB

Question 8

Input: SMART Step 1 (First to End): MARTS What is the final output after all operations?
Final output after applying First to End, Double Letters: MMAARRTTSS

Question 9

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

Question 10

Input: 55 dog 45 hen 25 rat Machine moves largest number to left each step Step 1: 55 45 hen dog 25 rat What is Step 2 output?
Step 1: Step 1: 55 45 hen dog 25 rat
Step 2: Step 2: 55 45 dog 25 hen rat

Question 11

Machine Input: Row 1: star planet galaxy Row 2: green blue yellow Rule: Row 1 sorted alphabetically, Row 2 sorted alphabetically Step 1: Row 1 → galaxy planet star Step 2: Row 2 → blue green yellow What is the final arrangement?
Final output:
Row 1: galaxy planet star
Row 2: blue green yellow

Question 12

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

Question 13

Input: PYTHON Step 1 (Shift +1): QZUIPO What is the final output after all operations?
Final output after applying Shift +1, Reverse: OPIUZQ

Question 14

Input: 25 45 dog fox 65 rat Step 1: 25 45 fox dog 65 rat Step 2: 25 45 dog 65 fox rat Step 3: 25 45 65 dog fox rat What is Step 4 output?
Following the pattern: Step 3: 25 45 65 dog fox rat

Question 15

Input: LOGIC Step 1 (Lowercase): logic Step 2 (Uppercase): LOGIC What is the final output after all operations?
Final output after applying Lowercase, Uppercase, Reverse: CIGOL

Question 16

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

Question 17

Machine Input: Row 1: planet moon sun Row 2: yellow purple blue Rule: Elements at same positions are swapped between rows Step 1: Swap positions → Row 1: yellow purple blue Step 2: Row 2: planet moon sun What is the final arrangement?
Final output:
Row 1: ['yellow', 'purple', 'blue']
Row 2: ['planet', 'moon', 'sun']

Question 18

Input: WORLD Step 1 (First to End): ORLDW What is the final output after all operations?
Final output after applying First to End, Uppercase: ORLDW

Question 19

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

Question 20

Input: cat 25 45 hen pig 55 Step 1: cat 45 hen 25 pig 55 Step 2: cat hen 25 pig 45 55 Step 3: cat hen pig 25 45 55 What is the final output after complete rearrangement?
Final arrangement: cat hen pig 25 45 55
Previous Worksheet Next Worksheet