Input-Output - Advanced Level: logical machines ADVANCED

Level up your input-output skills with this challenging mix. 20 advanced-level problems await in Worksheet 24 of 30. Focus area: logical machines. Learn stepwise transformation, algorithmic logic, processing rules through systematic practice. Designed for advanced learners seeking complex scenarios and multi-step problems.

📝 Worksheet 24 of 30 • 20 questions • ⏱️ Estimated time: 20 minutes • 🎯 Advanced level

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

Question 1

Input: LOGIC Step 1 (uppercase): LOGIC What is the final output after all 2 transformations?
Applied uppercase, shift-1 sequentially: LOGIC → KNFHB

Question 2

Input: HELLO Step 1 (shift+1): IFMMP What is the final output after all 2 transformations?
Applied shift+1, uppercase sequentially: HELLO → IFMMP

Question 3

Input: CODE Step 1 (shift-1): BNCD What is the final output after all 2 transformations?
Applied shift-1, double_letters sequentially: CODE → BBNNCCDD

Question 4

Input: 19 91 20 225 Rule: Count set bits (1's) in binary of first number Output: ?
Count of 1's in binary representation of 19 = 3

Question 5

Input: sunflower tulip 32 daisy 45 63 lotus 90 Step 1: 32 45 63 90 daisy lotus sunflower tulip Step 2: 32 54 63 09 daisy sutol sunflower pilut Step 3: Capitalize words, double numbers What is Step 3 output?
From Step 2, double all numbers and capitalize all words: 64 108 126 18 Daisy Sutol Sunflower Pilut

Question 6

Input: grape 18 plum 29 orange Apply conditional rules based on item type and properties Output: ?
Applied specific rules to each element based on its type and characteristics: hsaqe 2 mulp 92 Orange

Question 7

Word: MATH Step 1: Shift each letter +2 → OCVJ Step 2: Sum of positions (A=1, B=2...) Find Step 2.
Sum of alphabetical positions: MATH → 42

Question 8

Input: grape 18 plum 29 orange Apply conditional rules based on item type and properties Output: ?
Applied specific rules to each element based on its type and characteristics: Grape 9 mulp 92 Orange

Question 9

Rule: capitalize first - Capitalize first letter of each word Example: hello world test → Hello World Test Input: hello world python Output: ?
Following the 'capitalize first' rule: hello world python → Hello World Python

Question 10

Rule: add number prefix - Add sequential numbers as prefix (1, 2, 3...) Example: red blue green → 1red 2blue 3green Input: red blue green black Output: ?
Following the 'add number prefix' rule: red blue green black → 1red 2blue 3green 4black

Question 11

Rule: reverse words - Reverse each word individually Example: sun moon star → nus noom rats Input: pen book desk Output: ?
Following the 'reverse words' rule: pen book desk → nep koob ksed

Question 12

Input: 31 19 fig dog bat apple cat 42 Step 1: Sort - numbers (ascending) first, then words (alphabetical) What is Step 1 output?
All numbers (sorted ascending) placed before all words (sorted alphabetically): 19 31 42 apple bat cat dog fig

Question 13

Word: ALERT Step 1: Shift each letter +2 → CNGTV Step 2: Sum of positions (A=1, B=2...) Find Step 2.
Sum of alphabetical positions: ALERT → 56

Question 14

Word: CLEVER Step 1: Shift each letter +2 → ENGXGT Step 2: Sum of positions (A=1, B=2...) Find Step 2.
Sum of alphabetical positions: CLEVER → 65

Question 15

Input: 92 163 222 62 Rule: Apply XOR operation on first two numbers Output: ?
Bitwise XOR operation: 92 ^ 163 = 255

Question 16

Input: 83 92 50 72 Coding Scheme: 0→@, 1→#, 2→$, 3→%, 4→&, ... Rule: Replace each digit with its corresponding symbol Output: ?
Each digit replaced by its symbol: 83 92 50 72 → ~% ^$ *@ ?$

Question 17

Input: grape 18 plum 29 orange Apply conditional rules based on item type and properties Output: ?
Applied specific rules to each element based on its type and characteristics: hsaqe 2 Plum 4 trange

Question 18

Input: 42 dog apple 19 fig bat 31 cat Step 1: 19 31 42 apple bat cat dog fig Step 2: Double all numbers, uppercase all words What is Step 2 output?
From Step 1, numbers doubled, words uppercased: 38 62 84 APPLE BAT CAT DOG FIG

Question 19

Input Matrix: 27 6 42 71 2 85 47 82 96 Apply transformation: flip_horizontal What is the output?
Matrix flipped horizontally (left-right mirror)
27 6 42
71 2 85
47 82 96 → 42 6 27
85 2 71
96 82 47

Question 20

Input: BRAIN Step 1 (double_letters): BBRRAAIINN Step 2 (reverse): NNIIAARRBB What is the final output after all 3 transformations?
Applied double_letters, reverse, swapcase sequentially: BRAIN → nniiaarrbb
Previous Worksheet Next Worksheet