Please enable JavaScript to use CodeHS

AP Computer Science A (Mocha)

Lesson 8.4 Selection Sort

Description

In this lesson, students learn the basics of sorting. As learned in the previous lesson, Binary Search is a useful search method, but it’s limited by the fact that the lists it searches need to be sorted. In this lesson, students learn that Selection Sort is one way they can sort lists in order to effectively use Binary Search.


Objective

Students will be able to:

  • Define and use the Selection Sort method
  • Understand the strengths and limitations of Selection Sort