Unit 06

Searching, Sorting and Recursion

Build a sorting bench and race three sorts against each other: the searches, the sorts and the recursion the exam asks for, with no picture or game in the way.

Part of AP Unit 4 · 30–40% of the exam4 of its 17 topics

Computer Science in Java · members' unit

Searching, Sorting and Recursion is behind a locked door

Units in Computer Science in Java are for people taking the course. Getting in takes a link or a key — signing in on its own doesn't do it.

What's in this unit · 12 min read

  1. 4.14 · Searching algorithms
  2. 4.15 · Sorting algorithms
  3. Project 6-A · Sort
  4. 4.16 · Recursion
  5. 4.17 · Recursive Algorithms on Collections

18 quick checksannotated specimenvideocall stack viewerarray explorercode exercises+1 more

1 Sign in

With your school Google account. This is how your work reaches the gradebook — it doesn't open the unit by itself.

2 Get in

Open the class link your teacher posted — that's the usual way, and it enrolls you on the spot. Or paste an access key if you were handed one.

Or buy it

Reading on your own, with no class? The course can be yours.

A key unlocks this browser and keeps your progress here; signing in keeps it with you across devices. Either way the key itself is only ever checked as a hash. Manage all of this on your account, read what signing in stores, or go back to Computer Science in Java.

Sources

  • College Board — AP Computer Science A Course and Exam Description, Effective Fall 2025