Input-Output (Basic) - Beginner Level: common mistakes to avoid BEGINNER

Master input-output (basic) concepts through this speed drill practice set. Worksheet 6 of 30 contains 20 beginner-level problems. Deep dive into common mistakes to avoid while learning competitive exams, aptitude training, reasoning skills. Recommended for entry-level learners aiming for foundational concepts and basic patterns.

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

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

Question 1

Input: 85 80 54 12 57 48 Step 1: Calculate digit sums → 85(13) 80(8) 54(9) 12(3) 57(12) 48(12) Step 2: Sort by digit sum (ascending) → 12 80 54 48 57 85 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 12 80 54 48 57 85

Question 2

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

Question 3

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

Question 4

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

Question 5

Input: 65 88 46 25 29 83 89 48 Step 1: Even numbers (sorted): 46 48 88 Step 2: Odd numbers (sorted): 25 29 65 83 89 Step 3: Combine (evens then odds): 46 48 88 25 29 65 83 89 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 46 48 88 25 29 65 83 89

Question 6

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

Question 7

Input: 23 42 30 92 85 22 Step 1: Calculate digit sums → 23(5) 42(6) 30(3) 92(11) 85(13) 22(4) Step 2: Sort by digit sum (ascending) → 30 22 23 42 92 85 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 22 23 42 92 85

Question 8

Input: 74 84 85 33 78 77 Step 1: 33 84 85 74 78 77 Step 2: 33 74 85 84 78 77 Step 3: 33 74 77 84 78 85 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 33 74 77 78 84 85

Question 9

Input: 62 18 97 45 87 41 Step 1: 18 62 97 45 87 41 Step 2: 18 41 97 45 87 62 Step 3: 18 41 45 97 87 62 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 18 41 45 62 87 97

Question 10

Input: 47 71 67 60 39 86 80 73 Step 1: Identify prime numbers: 47 67 71 73 Step 2: Identify composite numbers: 39 60 80 86 Step 3: Combine (primes first, then composites, each sorted ascending): 47 67 71 73 39 60 80 86 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 47 67 71 73 39 60 80 86

Question 11

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

Question 12

Input: 6 94 68 16 47 40 12 43 Step 1: Identify prime numbers: 43 47 Step 2: Identify composite numbers: 6 12 16 40 68 94 Step 3: Combine (primes first, then composites, each sorted ascending): 43 47 6 12 16 40 68 94 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 43 47 6 12 16 40 68 94

Question 13

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

Question 14

Input: 14 34 20 96 29 44 Step 1: Calculate digit sums → 14(5) 34(7) 20(2) 96(15) 29(11) 44(8) Step 2: Sort by digit sum (ascending) → 20 14 34 44 29 96 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 20 14 34 44 29 96

Question 15

Input: 65 21 67 83 11 54 71 93 Step 1: Identify prime numbers: 11 67 71 83 Step 2: Identify composite numbers: 21 54 65 93 Step 3: Combine (primes first, then composites, each sorted ascending): 11 67 71 83 21 54 65 93 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 11 67 71 83 21 54 65 93

Question 16

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

Question 17

Input: 81 17 69 57 94 26 Step 1: 17 81 69 57 94 26 Step 2: 17 26 69 57 94 81 Step 3: 17 26 57 69 94 81 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 17 26 57 69 81 94

Question 18

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

Question 19

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

Question 20

Input: 97 37 27 89 88 34 56 33 Step 1: Even numbers (sorted): 34 56 88 Step 2: Odd numbers (sorted): 27 33 37 89 97 Step 3: Combine (evens then odds): 34 56 88 27 33 37 89 97 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 34 56 88 27 33 37 89 97
Previous Worksheet Next Worksheet