AP Computer Science Principlesmediummcq1 pt

The algorithm that is more efficient for large sorted lists is

A.binary search
B.linear search
C.neither, they tie
D.it depends on the language

Explanation

Core Concept

Halving cuts work each step.

Correct Answer

Abinary search

More Unit 3: Algorithms and Programming practice questions

Try a random question →

Practice more AP Computer Science Principles questions with full explanations

Practice Unit 3: Algorithms and Programming Questions →