Arrays, Accumulator Patterns, Searching, and Sorting
Textbook: BJP Ch 7 (arrays), Ch 7.4 (algorithms)
Where you are: Week 0 review > Arrays, search, and sort
This part of the review is three short lessons. Work them in order:
- Arrays and accumulator patterns: indexing, length, and the sum, count, min, and max patterns.
- Searching an array: linear search, and binary search with its sorted precondition.
- Sorting: the three-statement swap, selection sort, and insertion sort.
These close the Week 0 review. The bridge into CSCD 211 is the next anchor, Comparable, composition, and Comparator.
Resources
Canonical: BJP (Reges and Stepp) Ch 7 (arrays), §13.1 and §13.3 (searching and sorting); Liang 10e §7 (Single-Dimensional Arrays). Section numbers are grounded from the published tables of contents; exact page numbers depend on the printing and are pending a faculty spot-check.
Show 3 more resources
- Java SE 25 API: java.util.Arrays.
- Practice: code.jdoner.me CSCD 210 arrays and search exercises (coding practice and tracing).
- Video (URL pending verification): BroCode, Java arrays.