Input-Output (Basic) - Beginner-Intermediate Level: logical deduction BEGINNER-INTERMEDIATE

Intensive quick response training 🎯 drill: 20 beginner-intermediate-level input-output (basic) questions. Worksheet 10 of 30 hones your logical deduction abilities. Practice problem solving, practice tests, exam preparation 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 Input-Output (Basic)
Worksheet 10 of 30 (33% complete)

Question 1

Input: 97 62 73 23 80 48 70 2 Step 1: Even numbers (sorted): 2 48 62 70 80 Step 2: Odd numbers (sorted): 23 73 97 Step 3: Combine (evens then odds): 2 48 62 70 80 23 73 97 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 2 48 62 70 80 23 73 97

Question 2

Input: python world civic hello level Step 1: Palindromic words (read same forwards/backwards): civic level Step 2: Non-palindromic words: hello python world Step 3: Combine (palindromes first, then others, each sorted alphabetically): civic level hello python world What is the final output?
Palindromic words first (alphabetically sorted), then non-palindromic words (alphabetically sorted): civic level hello python world

Question 3

Input: noon python world hello madam Step 1: Palindromic words (read same forwards/backwards): madam noon Step 2: Non-palindromic words: hello python world Step 3: Combine (palindromes first, then others, each sorted alphabetically): madam noon hello python world What is the final output?
Palindromic words first (alphabetically sorted), then non-palindromic words (alphabetically sorted): madam noon hello python world

Question 4

Input: 23 cherry elderberry grape 56 date 44 Step 1: Sorted words → cherry date elderberry grape Step 2: Sorted numbers → 23 44 56 Step 3: Interleave (word, number, word, number...) → cherry 23 date 44 elderberry 56 grape What is the final output?
Words sorted alphabetically, numbers sorted ascending, then interleaved in pattern: word, number, word, number... → cherry 23 date 44 elderberry 56 grape

Question 5

Input: horse tiger dog goat bird Step 1: horse dog tiger goat bird Step 2: horse dog goat tiger bird Step 3: horse dog goat bird tiger What will be the final output after complete sorting?
The words are arranged in alphabetical (dictionary) order. horse tiger dog goat bird → bird dog goat horse tiger

Question 6

Input: madam world noon coding python Step 1: Palindromic words (read same forwards/backwards): madam noon Step 2: Non-palindromic words: coding python world Step 3: Combine (palindromes first, then others, each sorted alphabetically): madam noon coding python world What is the final output?
Palindromic words first (alphabetically sorted), then non-palindromic words (alphabetically sorted): madam noon coding python world

Question 7

Input: FOCUS Step 1: Reverse the word → SUCOF Step 2: Shift each letter +1 (A→B, B→C, ..., Z→A) → TVDPG Step 3: Rotate left by 2 positions → DPGTV Step 4: For even positions (0-indexed), keep letter; for odd positions, replace with position number (A=1, B=2...) → D16G20V What is the final output?
Multiple transformations applied sequentially: FOCUS → SUCOF → TVDPG → DPGTV → D16G20V

Question 8

Input: sun mercury 67 moon 56 34 Step 1: Separate → Words: sun mercury moon, Numbers: 67 56 34 Step 2: Sort numbers ascending → 34 56 67 Step 3: Sort words by length (then alphabetically) → sun moon mercury Step 4: Alternate (word, number, word, number...) → sun 34 moon 56 mercury 67 What is the final output?
Words sorted by length (shortest first, alphabetically for ties), numbers sorted ascending, then alternated: sun 34 moon 56 mercury 67

Question 9

Input: 65 60 82 19 74 48 Step 1: 19 60 82 65 74 48 Step 2: 19 48 82 65 74 60 Step 3: 19 48 60 65 74 82 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 19 48 60 65 74 82

Question 10

Input: world coding refer radar python Step 1: Palindromic words (read same forwards/backwards): radar refer Step 2: Non-palindromic words: coding python world Step 3: Combine (palindromes first, then others, each sorted alphabetically): radar refer coding python world What is the final output?
Palindromic words first (alphabetically sorted), then non-palindromic words (alphabetically sorted): radar refer coding python world

Question 11

Input: 30 23 13 76 83 33 Step 1: Calculate digit sums → 30(3) 23(5) 13(4) 76(13) 83(11) 33(6) Step 2: Sort by digit sum (ascending) → 30 13 23 33 83 76 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 30 13 23 33 83 76

Question 12

Input: 27 51 45 46 70 16 Step 1: Calculate digit sums → 27(9) 51(6) 45(9) 46(10) 70(7) 16(7) Step 2: Sort by digit sum (ascending) → 51 16 70 27 45 46 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 51 16 70 27 45 46

Question 13

Input: insect ball fish ice monkey Step 1: Identify vowel-starting words: ice insect Step 2: Identify consonant-starting words: ball fish monkey Step 3: Sort each group alphabetically Step 4: Combine (vowels first, then consonants): ice insect ball fish monkey What is the final output?
Words starting with vowels come first (sorted alphabetically), followed by words starting with consonants (sorted alphabetically): ice insect ball fish monkey

Question 14

Input: cat fish elephant horse dog Step 1: cat elephant fish horse dog Step 2: cat elephant fish dog horse Step 3: cat elephant dog fish horse What will be the final output after complete sorting?
The words are arranged in alphabetical (dictionary) order. cat fish elephant horse dog → cat dog elephant fish horse

Question 15

Input: insect dog cat monkey apple Step 1: Identify vowel-starting words: apple insect Step 2: Identify consonant-starting words: cat dog monkey Step 3: Sort each group alphabetically Step 4: Combine (vowels first, then consonants): apple insect cat dog monkey What is the final output?
Words starting with vowels come first (sorted alphabetically), followed by words starting with consonants (sorted alphabetically): apple insect cat dog monkey

Question 16

Input: orange fish lion cat elephant Step 1: Identify vowel-starting words: elephant orange Step 2: Identify consonant-starting words: cat fish lion Step 3: Sort each group alphabetically Step 4: Combine (vowels first, then consonants): elephant orange cat fish lion What is the final output?
Words starting with vowels come first (sorted alphabetically), followed by words starting with consonants (sorted alphabetically): elephant orange cat fish lion

Question 17

Input: 82 33 60 72 29 36 Step 1: 29 33 60 72 82 36 Step 3: 29 33 36 72 82 60 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 29 33 36 60 72 82

Question 18

Input: 55 83 26 97 45 31 Step 1: 26 83 55 97 45 31 Step 2: 26 31 55 97 45 83 Step 3: 26 31 45 97 55 83 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 26 31 45 55 83 97

Question 19

Input: mars 28 67 42 mercury neptune Step 1: Separate → Words: mars mercury neptune, Numbers: 28 67 42 Step 2: Sort numbers ascending → 28 42 67 Step 3: Sort words by length (then alphabetically) → mars mercury neptune Step 4: Alternate (word, number, word, number...) → mars 28 mercury 42 neptune 67 What is the final output?
Words sorted by length (shortest first, alphabetically for ties), numbers sorted ascending, then alternated: mars 28 mercury 42 neptune 67

Question 20

Input: 56 banana fig apple cherry 12 23 78 Step 1: Sorted words → apple banana cherry fig Step 2: Sorted numbers → 12 23 56 78 Step 3: Interleave (2 words, 1 number, repeat) → apple banana 12 cherry fig 23 56 78 What is the final output?
Words sorted alphabetically, numbers sorted ascending, then interleaved in pattern: 2 words, 1 number, repeat → apple banana 12 cherry fig 23 56 78
Previous Worksheet Next Worksheet