Data Interpretation & Logical Reasoning / Short-form reasoning
Input and Output
Input and Output: concepts, worked examples and practice.
Learn hands-free with our Duck Hunt teaching dog — listen and follow along word by word. Progress stays on this browser. No login needed.
Start with the basics
Input and Output, explained simply
Input-output problems show a process changing a list in stages. Track what moves or changes at each stage.
Try a small example
A machine sorts 4, 1, 3 into increasing order. What is its final output?
Show the steps
Find the smallest number: 1.
Place 3 next and 4 last.
The output is 1, 3, 4.
Remember: Do not assume sorting is the rule unless the shown stages support it.
Log in to save highlights and answer practice questions. Select text in a note, then choose a highlight colour. On mobile, touch and hold to select. Choose Save highlights or Save changes to save to your account. You’ll be prompted before leaving unsaved study changes.
Page 1 of 714% Completed
All study notes and topic chapters across Bharatiya Pathshala are 100% free forever.
BHARATIYA PATHSHALA / THE STUDY JOURNAL
Input and Output
Input and Output: Foundations & The Detective Mindset
DILRNO. 01
FOUNDATION
Learning Goal
Input and Output: Foundations & The Detective Mindset
How to look at clues without feeling overwhelmed: simple words and visual maps.
1. What are we learning?
Imagine you are Sherlock Holmes. A crime was committed, but nobody saw who did it. All you have are a few witness notes, a clock on the wall, and footprints in the mud. In Input and Output, The robot sorting machine: arranging words alphabetically and numbers in descending order step by step. You do not need to guess; every puzzle contains the exact key needed to unlock it.
2. The words explained
Word
Meaning
Easy example
Units
Premise / Clue
A stated piece of factual information guaranteed to be 100% true
A clue stating Kabir sits next to Samar
Fact
Constraint
A rule that limits where an item can be placed or what value it can take
Nobody can sit in the middle seat
Rule
Elimination
Crossing out choices that contradict any established clue
Ruling out Seat 1 because it faces South
Process
3. The magic formulas
There is only one core idea, written in simple ways:
Step Machine: Deterministic state transformation Sk+1=f(Sk)
The Visual Logic Architecture
The Visual Logic Architecture Diagram
Diagram explanation: The Visual Logic Architecture Diagram. Key labeled elements shown: UNSOLVED PUZZLE (Clues & Rules) 1 Extract Direct Facts — Place 100% solid anchor clues into the grid 2 Link Indirect Clues — Connect overlapping clues (A relates to B, B connec. Context: Input and Output: Foundations & The Detective Mindset How to look at clues without feeling overwhelmed: simple words and visual maps. 1. Wha.
Why does this make sense?
Logical reasoning tests your ability to think clearly under uncertainty. It is not about memorizing facts; it is about keeping track of possibilities and systematically eliminating what is impossible.
4. Match your units first!
Double-check left and right orientations! When someone faces South, their Left is YOUR Right!
Handy conversions
To change
Do this
Example
Angle to Percentage in Pie Charts
Divide by 3.6
72° ÷ 3.6 = 20%
Percentage to Angle in Pie Charts
Multiply by 3.6
25% × 3.6 = 90°
5. Solved examples (step by step)
Example 1: Direct Clue Placement
Three friends A, B, and C sit in a row. A is not on an end. B sits to the left of A. Find their exact seating order from left to right.
• There are 3 seats: [1, 2, 3].
• A is not on an end, so A MUST be in the middle seat: [_, A, _].
• B sits to the left of A, so B must be in Seat 1: [B, A, _].
• Only C remains, so C must take Seat 3: [B, A, C].
• Result: Seating order: B, A, C
Example 2: Testing a Contradiction
Suppose we are told: "Either A is a truth-teller or B is a truth-teller, but not both." If A says "Both of us are liars", who is telling the truth?
• Test Case 1: Can A be telling the truth? If A tells the truth, then his statement is true, meaning both are liars—which means A is a liar! A contradiction!
• Therefore, A CANNOT be telling the truth. A is definitely a liar.
• Since only one person is a truth-teller and A is a liar, B MUST be the truth-teller.
• Result: B is the truth-teller; A is the liar
6. The detective clue and logical nuances
The "Must Be True" vs "Could Be True" Trap
Questions often ask: "Which of the following MUST be true?"
• "Must be true" means it holds true in 100% of all possible valid scenarios. If there is even one valid arrangement where it fails, it is FALSE!
• "Could be true" means it is possible in at least one valid scenario.
Learn to distinguish between certainty and mere possibility.
7. Real-world benchmarks (to build your feel for numbers and data)
Moving thing / Real situation
Benchmark value
Ideal time to read and map a set
3 to 4 minutes
Ideal time to answer all 4 questions in a set
8 to 10 minutes total
Always ask: "Does my answer make sense in the real world?"
8. Common mistakes (and how to avoid them)
1. Starting with vague, conditional clues: Always anchor the DIRECT, concrete facts into the grid first.
2. Assuming things not stated in the passage: If the text does not say they are seated alphabetically, never assume they are.
9. Quick recap
• Organize information into tables, matrices, or maps before reading questions.
• Use direct clues as foundation stones.
• Eliminate options that fail under any single clue.
10. Practice time
Try these on your own first. Step-by-step answers are right below.
1. In a pie chart, what angle represents 50% of the budget?
2. In a knockout tournament of 32 players, how many total matches are played?
3. If you walk North and take two consecutive Right turns, which direction are you facing?
4. In a family tree, your father’s sister’s son is your what?
Answers
1. 50% × 3.6 = 180°
2. 32 - 1 = 31 matches
3. North -> Right (East) -> Right (South)
4. First cousin
11. A thought to remember
Reasoning is the superpower that allows human beings to see order amidst chaos. When life presents you with confusing signals, do not panic. Lay out the facts, discard the noise, and the truth will reveal itself.
Machine Sorting Pass-by-Pass State Table
Figure explanation: Step-by-step trace showing an automated sorting machine ordering numbers descending and words alphabetically.
Figure labels (25)
Machine Sorting Pass-by-Pass State Table
Step ID
Left-Shifted Element
Unsorted Middle Stream
Right-Shifted Element
Status
Input
—
45 cat 12 zebra 89 dog
Raw Stream
Step 1
89
45 12 zebra dog
cat
Pass 1 Active
Step 2
89 45
12 zebra
dog cat
Pass 2 Active
Step 3
89 45 12
zebra dog cat
TERMINAL STATE (Done)
Input: 45 cat 12 zebra 89 dog. Machine shifts highest number to extreme left and smallest word to extreme right.
Use diagrams for relationships and distinguish logical necessity from everyday plausibility.
MAH MBA CET: Logical Reasoning
75 questions (75 marks) — the highest weightage section. Practice long complex seating arrangements, circular arrangements with facing/opposite directions, input-output machines, and conditional puzzles.
SNAP: Analytical and Logical Reasoning
Use compact diagrams, clear direction conventions and quick elimination. Skip long uncertain branches and return later.
NMAT: Logical Reasoning
Test assumptions and deductions, then use small structured cases for puzzles and input-output rules.
Check your understanding
Explain the idea in your own words before opening the answer. Then apply it to the example.
Stepwise Rearrangement
Explain the main rule in stepwise rearrangement, then apply it to a small example. State the assumption that makes your reasoning valid.
Check your answer
Track what each machine step fixes and what remains unfixed. Apply only the movement shown in the examples.
Worked example: A rule moves the smallest remaining number to the left at each step. From 8 3 6 1, the first step is 1 8 3 6 and the second is 1 3 8 6.
Rule Detection
Explain the main rule in rule detection, then apply it to a small example. State the assumption that makes your reasoning valid.
Check your answer
Check whether a machine sorts numbers, words, positions or alternating categories. Verify a rule across more than one transition.
Worked example: If step one places the smallest number left and step two places the alphabetically last word right, continue the alternating rule. Sorting the whole list numerically would ignore half the evidence.