Input-Output (Basic) - Intermediate Level: speed building INTERMEDIATE

Exam-focused quick response training ★ worksheet: 20 intermediate-level input-output (basic) questions. Worksheet 13 of 30 targets speed building. Build proficiency in competitive exams, aptitude training, reasoning skills with detailed solutions. Ideal for mid-level competitive exam preparation.

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

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

Question 1

Input: 33 49 17 85 34 82 18 84 Step 1: Even numbers (sorted): 18 34 82 84 Step 2: Odd numbers (sorted): 17 33 49 85 Step 3: Combine (evens then odds): 18 34 82 84 17 33 49 85 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 18 34 82 84 17 33 49 85

Question 2

Input: 69 23 26 74 38 29 Step 1: Calculate digit sums → 69(15) 23(5) 26(8) 74(11) 38(11) 29(11) Step 2: Sort by digit sum (ascending) → 23 26 29 38 74 69 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 23 26 29 38 74 69

Question 3

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

Question 4

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

Question 5

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

Question 6

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

Question 7

Input: 83 21 14 32 88 31 Step 1: 14 21 83 32 88 31 Step 3: 14 21 31 32 88 83 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 14 21 31 32 83 88

Question 8

Input: 2 54 79 42 62 80 88 59 Step 1: Identify prime numbers: 2 59 79 Step 2: Identify composite numbers: 42 54 62 80 88 Step 3: Combine (primes first, then composites, each sorted ascending): 2 59 79 42 54 62 80 88 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 2 59 79 42 54 62 80 88

Question 9

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 10

Input: 53 81 17 6 57 3 77 62 Step 1: Identify prime numbers: 3 17 53 Step 2: Identify composite numbers: 6 57 62 77 81 Step 3: Combine (primes first, then composites, each sorted ascending): 3 17 53 6 57 62 77 81 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 3 17 53 6 57 62 77 81

Question 11

Input: 91 48 52 71 97 29 21 94 Step 1: Identify prime numbers: 29 71 97 Step 2: Identify composite numbers: 21 48 52 91 94 Step 3: Combine (primes first, then composites, each sorted ascending): 29 71 97 21 48 52 91 94 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 29 71 97 21 48 52 91 94

Question 12

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

Question 13

Input: 18 30 13 93 90 63 73 37 Step 1: Identify prime numbers: 13 37 73 Step 2: Identify composite numbers: 18 30 63 90 93 Step 3: Combine (primes first, then composites, each sorted ascending): 13 37 73 18 30 63 90 93 What is the final output?
Prime numbers first (sorted ascending), followed by composite numbers (sorted ascending): 13 37 73 18 30 63 90 93

Question 14

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

Question 15

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

Question 16

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

Question 17

Input: 64 21 48 92 37 82 Step 1: Calculate digit sums → 64(10) 21(3) 48(12) 92(11) 37(10) 82(10) Step 2: Sort by digit sum (ascending) → 21 37 64 82 92 48 What is the final sorted output?
Numbers sorted by sum of their digits (smallest sum first). If sums are equal, numbers sorted by value: 21 37 64 82 92 48

Question 18

Input: 26 47 35 18 51 61 Step 1: Calculate digit sums → 26(8) 47(11) 35(8) 18(9) 51(6) 61(7) Step 2: Sort by digit sum (ascending) → 51 61 26 35 18 47 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 61 26 35 18 47

Question 19

Input: kite dog eagle orange ball Step 1: Identify vowel-starting words: eagle orange Step 2: Identify consonant-starting words: ball dog kite Step 3: Sort each group alphabetically Step 4: Combine (vowels first, then consonants): eagle orange 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 orange ball dog kite

Question 20

Input: 31 42 63 66 30 67 Step 1: 30 42 63 66 31 67 Step 2: 30 31 63 66 42 67 Step 3: 30 31 42 66 63 67 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 30 31 42 63 66 67
Previous Worksheet Next Worksheet