Suppose you searching student data using student number as the key.Which of following arrangement of the student data is suited for binary search?

A Student data are arranged in the positions indicated by the student numbers hash values .

B Student data are arranged randomly irrespective of the student numbers.

C Student data are arranged in ascending order of student numbers.

D Student data are arranged in the order of the cell addresses of the student numbers' locations.

Solution

Correct Answer: Option C

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions