Input-Output (Basic) - Beginner Level: quick solving techniques BEGINNER

Exam-focused quick revision round worksheet: 20 beginner-level input-output (basic) questions. Worksheet 3 of 30 targets quick solving techniques. Build proficiency in problem solving, practice tests, exam preparation with detailed solutions. Ideal for entry-level competitive exam preparation.

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

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

Question 1

Input: 92 77 96 57 55 85 Step 1: 55 77 96 57 92 85 Step 2: 55 57 96 77 92 85 Step 3: 55 57 77 96 92 85 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 55 57 77 85 92 96

Question 2

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

Question 3

Input: a ox ant elephant cat 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 ant cat elephant

Question 4

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

Question 5

Input: 7 25 51 80 99 69 37 35 Step 1: Even numbers (sorted): 80 Step 2: Odd numbers (sorted): 7 25 35 37 51 69 99 Step 3: Combine (evens then odds): 80 7 25 35 37 51 69 99 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 80 7 25 35 37 51 69 99

Question 6

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

Question 7

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

Question 8

Input: 36 40 19 11 65 33 Step 1: Calculate digit sums → 36(9) 40(4) 19(10) 11(2) 65(11) 33(6) Step 2: Sort by digit sum (ascending) → 11 40 33 36 19 65 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 11 40 33 36 19 65

Question 9

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 10

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

Question 11

Input: butterfly butterfly ant a ox 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 ant butterfly butterfly

Question 12

Input: 53 33 60 16 69 11 22 76 Step 1: Even numbers (sorted): 16 22 60 76 Step 2: Odd numbers (sorted): 11 33 53 69 Step 3: Combine (evens then odds): 16 22 60 76 11 33 53 69 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 16 22 60 76 11 33 53 69

Question 13

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

Question 14

Input: 58 48 30 13 51 94 70 3 Step 1: Even numbers (sorted): 30 48 58 70 94 Step 2: Odd numbers (sorted): 3 13 51 Step 3: Combine (evens then odds): 30 48 58 70 94 3 13 51 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 30 48 58 70 94 3 13 51

Question 15

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

Question 16

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

Question 17

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

Question 18

Input: ant ox dog a cat 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 ant cat dog

Question 19

Input: 70 24 56 18 39 76 Step 1: 18 24 56 70 39 76 Step 3: 18 24 39 70 56 76 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 18 24 39 56 70 76

Question 20

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