Worst-case probes for 2048 records

A sorted array holds 2048 student records, ordered by student number. Binary search compares the target with one middle element per probe and discards the half that cannot contain it. What is the maximum number of probes needed to find a student number or confirm it is absent? Answer as a whole number.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Binary Search Questions: