Sequential Output Tracing Questions and Answers
Practice ModeShowing 10 of 50 questions
Q1
In a certain input-output machine, the input is "go 15 up 23 now 7". Step I – numbers are arranged in ascending order. Step II – words are arranged in alphabetical order. What will be the final output?
Answer: Option A
Explanation: Numbers first (ascending), then words alphabetically.
Q2
Input: "sun 18 shine 5 bright 9" Step I: Numbers arranged in ascending order. Step II: Words arranged in reverse alphabetical order. Final Output?
Answer: Option A
Explanation: Combine both steps in correct sequence.
Q3
Input: "lamp 42 candle 8 bulb 12" If each step arranges one number (ascending) and one word (alphabetically), what will be Step II?
Answer: Option A
Explanation: Two elements arranged per step.
Q4
Input: "red 7 blue 15 green 3" Step I: Smallest number moves to the front. Step II: Word next to the smallest number moves to front. What is Step I output?
Answer: Option A
Explanation: Only number moved first, not its word.
Q5
Input: "pen 5 pencil 12 eraser 9" Rule: Odd numbers arranged ascending, even numbers descending. Final output?
Answer: Option D
Explanation: Odd first ascending → 5, 9; then even descending → 12.
Q6
Input: "rose 10 lily 8 daisy 12" Rule: Numbers ascending, corresponding words follow them. Final Output?
Answer: Option A
Explanation: Arrange number-word pairs.
Q7
Input: "fox 12 zebra 3 dog 9" Step I – Smallest number comes first with its word. What is Step I output?
Answer: Option A
Explanation: Smallest number and its word move together.
Q8
Input: "train 40 bus 10 car 20" Steps: Step I – smallest number with word moves to front. Step II – next smallest number follows. Final output?
Answer: Option A
Explanation: Ascending order of number-word pairs.
Q9
Input: "book 25 copy 18 page 12" Step I – Arrange numbers in descending order with their words. Final output?
Answer: Option A
Explanation: Descending means largest first.
Q10
Input: "orange 2 apple 5 banana 4" Rule: Words alphabetically, numbers increasing. Output?
Answer: Option A
Explanation: Match word and number sequence.