AP Computer Science Amediummcq1 pt

A linear search for a target returns the

A.index of the first match
B.index of the last match
C.number of matches
D.the target value

Explanation

Core Concept

Scanning stops at the first hit.

Correct Answer

Aindex of the first match

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 →