Input-Output (Basic) - Beginner Level: time management BEGINNER

Boost your speed and accuracy with this beginner friendly 📈 worksheet. Worksheet 5 of 30 presents 20 beginner-level input-output (basic) problems. Focus on time management while practicing exam preparation, competitive exams, aptitude training. Difficulty: foundational concepts and basic patterns. Perfect for entry-level test takers.

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

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

Question 1

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

Question 2

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

Question 3

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

Question 4

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

Question 5

Input: 41 15 89 49 94 48 Step 1: Calculate digit sums → 41(5) 15(6) 89(17) 49(13) 94(13) 48(12) Step 2: Sort by digit sum (ascending) → 41 15 48 49 94 89 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 41 15 48 49 94 89

Question 6

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

Question 7

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

Question 8

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

Question 9

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

Question 10

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

Question 11

Input: 31 68 84 12 14 96 15 75 Step 1: Even numbers (sorted): 12 14 68 84 96 Step 2: Odd numbers (sorted): 15 31 75 Step 3: Combine (evens then odds): 12 14 68 84 96 15 31 75 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 12 14 68 84 96 15 31 75

Question 12

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

Question 13

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

Question 14

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

Question 15

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

Question 16

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

Question 17

Input: 73 34 64 84 72 24 Step 1: Calculate digit sums → 73(10) 34(7) 64(10) 84(12) 72(9) 24(6) Step 2: Sort by digit sum (ascending) → 24 34 72 64 73 84 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 24 34 72 64 73 84

Question 18

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

Question 19

Input: apple 23 31 fig grape 5 78 elderberry Step 1: Sorted words → apple elderberry fig grape Step 2: Sorted numbers → 5 23 31 78 Step 3: Interleave (2 words, 1 number, repeat) → apple elderberry 5 fig grape 23 31 78 What is the final output?
Words sorted alphabetically, numbers sorted ascending, then interleaved in pattern: 2 words, 1 number, repeat → apple elderberry 5 fig grape 23 31 78

Question 20

Input: 41 82 39 75 25 32 Step 1: 25 82 39 75 41 32 Step 2: 25 32 39 75 41 82 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 25 32 39 41 75 82
Previous Worksheet Next Worksheet