Bird
0
0

Why is binary search faster than linear search on sorted lists?

hard📝 Conceptual Q10 of 15
Intro to Computing - How Files and Folders Organize Data
Why is binary search faster than linear search on sorted lists?
ABecause it divides the list and eliminates half each step
BBecause it checks every element one by one
CBecause it sorts the list first
DBecause it uses random guessing
Step-by-Step Solution
Solution:
  1. Step 1: Understand binary search process

    Binary search splits the sorted list and discards half where the item cannot be, reducing search steps.
  2. Step 2: Compare with linear search

    Linear search checks every element, which is slower for large lists.
  3. Final Answer:

    Because it divides the list and eliminates half each step -> Option A
  4. Quick Check:

    Binary search halves search space each step [OK]
Quick Trick: Binary search halves search space each step [OK]
Common Mistakes:
  • Thinking binary search checks all elements
  • Believing it sorts first
  • Assuming random guessing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Intro to Computing Quizzes