Input-Output (Basic) - Beginner Level: pattern recognition BEGINNER

Ready to master input-output (basic)? This concept mastery features 20 beginner-level challenges. Worksheet 2 of 30 sharpens your pattern recognition skills. Master logical thinking, problem solving, practice tests through guided practice. Perfect for entry-level test preparation.

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

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

Question 1

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

Question 2

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

Question 3

Input: 56 60 14 17 20 79 49 26 Step 1: Even numbers (sorted): 14 20 26 56 60 Step 2: Odd numbers (sorted): 17 49 79 Step 3: Combine (evens then odds): 14 20 26 56 60 17 49 79 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 14 20 26 56 60 17 49 79

Question 4

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

Question 5

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

Question 6

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

Question 7

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

Question 8

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 9

Input: 90 64 72 39 23 60 Step 1: 23 64 72 39 90 60 Step 2: 23 39 72 64 90 60 Step 3: 23 39 60 64 90 72 What is the final sorted output in ascending order?
Numbers are arranged in ascending order (smallest to largest): 23 39 60 64 72 90

Question 10

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

Question 11

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

Question 12

Input: 95 53 74 48 91 67 37 14 Step 1: Even numbers (sorted): 14 48 74 Step 2: Odd numbers (sorted): 37 53 67 91 95 Step 3: Combine (evens then odds): 14 48 74 37 53 67 91 95 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 14 48 74 37 53 67 91 95

Question 13

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

Question 14

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 15

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

Question 16

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

Question 17

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 18

Input: 63 48 46 78 19 34 70 4 Step 1: Even numbers (sorted): 4 34 46 48 70 78 Step 2: Odd numbers (sorted): 19 63 Step 3: Combine (evens then odds): 4 34 46 48 70 78 19 63 What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 4 34 46 48 70 78 19 63

Question 19

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

Question 20

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