Input-Output (Basic) - Intermediate Level: data interpretation INTERMEDIATE

Quick mental agility ★ session: 20 intermediate-level input-output (basic) questions. Worksheet 17 of 30 - Focus: data interpretation. Practice problem solving, practice tests, exam preparation with instant feedback. Great for mid-level students needing moderate complexity with mixed patterns practice.

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

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

Question 1

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

Question 2

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

Question 3

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

Question 4

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

Question 5

Input: 37 78 43 91 24 13 60 98 Step 1: Identify prime numbers: 13 37 43 Step 2: Identify composite numbers: 24 60 78 91 98 Step 3: Combine (primes first, then composites, each sorted ascending): 13 37 43 24 60 78 91 98 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 13 37 43 24 60 78 91 98

Question 6

Input: asteroid 89 45 planet 23 comet Step 1: Separate & sort words → asteroid comet planet Step 2: Separate & sort numbers → 23 45 89 Step 3: Alternate (word, number, word, number...) → asteroid 23 comet 45 planet 89 What is the final arrangement?
Words sorted alphabetically, numbers sorted ascending, then placed alternately starting with a word: asteroid 23 comet 45 planet 89

Question 7

Input: ox cat butterfly a hippopotamus Step 1: a Step 2: a ox Rule: Arrange words by length (shortest first), then alphabetically for same length. What is the final output?
Sorted by word length: a ox cat butterfly hippopotamus

Question 8

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

Question 9

Input: 78 21 61 54 5 36 45 67 Step 1: Even numbers (sorted): 36 54 78 Step 2: Odd numbers (sorted): 5 21 45 61 67 Step 3: Combine (evens then odds): 36 54 78 5 21 45 61 67 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 36 54 78 5 21 45 61 67

Question 10

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

Question 11

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

Question 12

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

Question 13

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

Question 14

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

Question 15

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

Question 16

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

Question 17

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

Question 18

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

Question 19

Input: madam noon hello world python 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 20

Input: 5 grape 44 fig 78 elderberry Step 1: Sorted words → elderberry fig grape Step 2: Sorted numbers → 5 44 78 Step 3: Interleave (word, number, word, number...) → elderberry 5 fig 44 grape 78 What is the final output?
Words sorted alphabetically, numbers sorted ascending, then interleaved in pattern: word, number, word, number... → elderberry 5 fig 44 grape 78
Previous Worksheet Next Worksheet