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
Minus one signals not found.
Anegative one
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →