Please enable JavaScript to use CodeHS

AP Computer Science A (Nitro)

Lesson 7.5 Searching

Description

In this lesson, students will explore and analyze a linear search. Linear Search is an algorithm that searches data sets in a sequential order, checking each value from the 0th index to the end of the data set to see what index a specific element can be located at. This lesson corresponds with AP Computer Science A topic 7.5.


Objective

Students will be able to:

  • Apply linear search algorithms to search for specific information in array or ArrayList objects