AP Computer Science Aeasymcq1 pt

If the target is not found, a linear search commonly returns

A.negative one
B.zero
C.the array length
D.the target

Explanation

Core Concept

Minus one signals not found.

Correct Answer

Anegative one

More Unit 6: Array practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 6: Array Questions →