Unit 04
Data Collections
Build four things that each hold thousands of values at once — a dataset you parse, a photograph you edit pixel by pixel, a playable 2048 and a sorting bench — and learn the arrays, ArrayLists, 2D arrays and algorithms underneath all four.
Every assignment filed under this unit, and where each one stands with your classes. The whole console →
- The last indexchecking
- The disappearing elementschecking
- Could we, should wechecking
- What the data can answerchecking
- What an array starts aschecking
- What the enhanced for can touchchecking
- Reading the accumulatorchecking
- Opening a filechecking
- Text into numberschecking
- Replace, or insertchecking
- Removing safelychecking
- Two lists at oncechecking
- Row, then columnchecking
- Across, or downchecking
- One loop, or twochecking
- Finding itchecking
- Swap, or slidechecking
- On the way outchecking
- Halving and mergingchecking
- FRQ · Digitschecking
- FRQ · Tripchecking
- FRQ · Crosswordchecking
- FRQ · StringCoderchecking
- FRQ · StringFormatterchecking
- FRQ · BatteryChargerchecking
- FRQ · DiverseArraychecking
- FRQ · SparseArraychecking
- FRQ · MasterOrderchecking
AP Computer Science A · members' unit
Data Collections is behind a locked door
Units in AP Computer Science A 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 · 42 min read
- What you will build
- 4.1 · Ethical and social issues around data collection
- 4.2 · Introduction to using data sets
- 4.3 · Array creation and access
- 4.4 · Array traversals
- 4.5 · Implementing array algorithms
- 4.6 · Using text files
- 4.7 · Wrapper classes
- 4.8 · ArrayList methods
- 4.9 · ArrayList traversals
- 4.10 · Implementing ArrayList algorithms
- 4.11 · 2D array creation and access
- 4.12 · 2D array traversals
- 4.13 · Implementing 2D array algorithms
- 4.14 · Searching algorithms
- 4.15 · Sorting algorithms
- 4.16 · Recursion
- 4.17 · Recursive searching and sorting
- The projects, in full
43 quick checksvideoArrayList sandboxloop tracercall stack viewerarray explorer+2 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.
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 AP Computer Science A.
Sources
- College Board — AP Computer Science A Course and Exam Description, Effective Fall 2025
- Gilmour Academy — Course structure and standards adaptation