Arrays vs ArrayList in AP CSA (2026)
AP CSA Arrays & ArrayList
★ Deep Dive by Topic:
The most heavily tested topic on the 2026 AP Computer Science A exam. Master arrays, ArrayList, and 2D arrays with targeted practice, common mistake guides, and exam-level trace problems.
Why This Topic Matters Most
Unit 4 (Data Collections) is the single highest-weighted unit on the AP CSA exam. It covers 1D arrays, ArrayList, and 2D arrays. At least 13–17 of the 42 MCQs will test these concepts, and FRQ 3 is always ArrayList-based. If you master this unit, you have the best shot at a 4 or 5.
Common Mistakes & Traps
These are the errors that cost students the most points. If you only study one section, make it this one.
Top Array Mistakes That Cost You Points
Off-by-one errors, wrong loop bounds, confusing .length with .size(), and the other mistakes that show up on every exam.
ArrayList Traps Every AP CSA Student Falls For
ConcurrentModificationException, index shifting after remove(), autoboxing pitfalls, and the traps College Board loves to test.
Off-by-One Errors Explained — Stop Losing Easy Points
The single most common bug in AP CSA. Learn exactly where it happens, how to spot it in code, and how to fix it every time.
Array vs ArrayList: What the AP CSA Exam Actually Tests
Side-by-side comparison of syntax, methods, and when each is used. Includes the specific differences College Board targets in MCQs.
2D Array Mistakes That Tank Your Score
Row vs column confusion, nested loop bounds, and accessing [row][col] vs [col][row] — the 2D-specific traps.
Trace & Predict Output
The exam gives you code and asks what it prints. Practice predicting output before looking at choices.
Array Trace Problems With Solutions (Exam-Level)
Trace through array code step by step. Predict the output, then check your work. Exam-difficulty problems with detailed explanations.
ArrayList Trace Problems — Predict the Output
Add, remove, set, and get calls interleaved. Track the shifting indices. Predict the final ArrayList state.
2D Array Trace Problems for the AP CSA Exam
Nested loop traces with row-major and column-major traversal. The exact style of problem you will see on exam day.
FRQ Patterns & Scoring
FRQ 3 is always ArrayList. Know what the graders look for before you write a single line.
How Arrays Show Up in AP CSA FRQs
Traversal patterns, accumulator templates, and the exact array techniques that appear in past FRQs — with scoring point breakdowns.
ArrayList FRQ Patterns — What Graders Look For
FRQ 3 is always ArrayList. Learn the add/remove/traverse patterns, common penalty triggers, and exactly how to earn full credit.
Quick Reference & Cheat Sheets
Print these. Bookmark them. Review them the morning of the exam.
Array & ArrayList Methods Quick Reference (2026)
Every method, property, and syntax pattern for arrays and ArrayList — organized exactly the way it appears on the Quick Reference sheet.
2D Array Patterns Cheat Sheet
Row-major vs column-major, accessing dimensions, initialization patterns, and the nested loop templates you need.
Need a Structured Study Plan?
The 4-Week AP CSA Cram Kit gives you a day-by-day plan covering every unit — including deep dives on arrays and ArrayList.
Get the 4-Week Cram Kit — $29.99 Book 1-on-1 TutoringCore Concepts
Build a deep understanding of every array and ArrayList pattern tested on the exam.
Every Array Traversal Pattern for AP CSA
Standard for loop, enhanced for loop, partial traversal, reverse traversal, and simultaneous traversal — all with exam-ready code.
ArrayList Methods Explained With Examples
add(), get(), set(), remove(), size() — every method with code examples, edge cases, and exam-style usage.
Row-Major vs Column-Major — 2D Array Traversal
The difference matters on the exam. See both patterns side by side with output comparisons and common MCQ traps.
Searching & Sorting Arrays on the AP CSA Exam
Sequential search, selection sort, and insertion sort — the algorithms on the 2026 AP CSA exam. Trace through each step by step.
ArrayList Algorithms You Need to Know
Filtering, finding min/max, removing duplicates, and building new lists from existing data — the core FRQ patterns.
Pattern Library
Reusable code patterns that show up across MCQs and FRQs. Know these cold.
The Swap Pattern — Arrays & ArrayList
Three-variable swap, in-place array reversal, and ArrayList element swapping. A building block for sorting and rearranging.
Accumulator Pattern for Arrays
Sum, count, average, max, min — the accumulator pattern in every variation. This shows up in nearly every FRQ.
Filtering & Removing Elements (ArrayList)
Remove while iterating, backwards traversal to avoid index shifting, and building a filtered copy — three approaches, one exam.
Parallel Arrays — When and How to Use Them
Using multiple arrays indexed in sync. A classic exam pattern where two arrays share the same index to represent related data.
Arrays + Strings — Combined Problem Patterns
String arrays, character-level processing with substring, and the cross-topic patterns that combine Unit 1 and Unit 4 skills.
Stuck on Arrays? Get 1-on-1 Help.
54.5% of my AP CSA students score 5s (national average: 25.5%). I can help you get there too.
Book a Tutoring SessionExam-Level Practice
Full MCQ sets at exam difficulty. No giveaways, no easy outs — the real thing.
20 Array MCQs — Exam Difficulty
Spot-the-error, trace output, and I/II/III format questions. Balanced answer key. Detailed explanations for every choice.
20 ArrayList MCQs — Exam Difficulty
Index shifting, autoboxing, method chaining, and ConcurrentModificationException scenarios. No giveaway variable names.
15 2D Array MCQs — Exam Difficulty
Nested loop traversal, row vs column confusion, and boundary conditions. The hardest 2D array problems you will face.
Runtime Errors & Edge Cases
Know what breaks and why. These are the exceptions the exam tests you on.
NullPointerException With Arrays
Declaring an array of objects does not create the objects. Learn exactly when and why NullPointerException is thrown.
IndexOutOfBoundsException — Every Way Students Trigger It
ArrayIndexOutOfBoundsException vs IndexOutOfBoundsException. Every scenario that causes it, with code examples.
ConcurrentModificationException — The ArrayList Killer
Why you cannot remove elements during a for-each loop, and the three patterns that fix it. A guaranteed exam topic.
Array Initialization Pitfalls (Reference vs Primitive)
int arrays default to 0. Object arrays default to null. Aliasing means two variables point to the same array. These details matter.
Enhanced For Loop Limitations — What You Cannot Do
Cannot modify, cannot access index, cannot remove elements. Know when to use a standard for loop instead. Exam-tested every year.
🔍 Searching, Sorting & Recursion
These Unit 4 topics work directly with arrays and ArrayLists. Master the algorithms that operate on your data structures.
Frequently Asked Questions
Quick answers to the most common questions about arrays on the AP CSA exam.
How much of the AP CSA exam covers arrays?
Unit 4 (Data Collections) is worth 30–40% of the exam — the highest-weighted unit. Expect 13–17 MCQs and at least 1 full FRQ on arrays/ArrayList.
What is the difference between array and ArrayList?
Arrays have fixed size and use bracket notation. ArrayList is resizable and uses method calls. The exam tests both, and FRQ 3 is always ArrayList.
What are the most common array mistakes?
Off-by-one errors, confusing .length with .size(), modifying an ArrayList in a for-each loop, and using == instead of .equals() for Strings in arrays.
When is the 2026 AP CSA exam?
May 15, 2026. Fully digital via Bluebook. 42 MCQs (55%) + 4 FRQs (45%). Unit 4 is the biggest slice of the exam.
Which array topics show up in FRQs?
FRQ 3 is always ArrayList (traversal, filtering, removing). FRQs 1, 2, and 4 often involve 1D or 2D array traversal, accumulation, and searching.
Should I study arrays or ArrayList first?
Start with 1D arrays to build the foundation, then move to ArrayList. Finish with 2D arrays. The exam assumes you know all three.
Ready to Lock In Your 5?
Get the structured study plan, practice problems, and 1-on-1 help you need to crush the AP CSA exam on May 15.
4-Week Cram Kit — $29.99 Book Tutoring Browse All FRQsMore AP CSA Resources
Unit 4 Complete Study Guide
The full Unit 4 study guide covering all data collection topics in one comprehensive resource.
AP CSA Daily Practice (QOTD)
Free daily multiple-choice questions covering all 4 units. New question every day through exam season.
Complete FRQ Archive (2019–2025)
Every AP CSA FRQ with full solutions, scoring guides, and step-by-step explanations.
Get in Touch
Whether you're a student, parent, or teacher — I'd love to hear from you.
Just want free AP CS resources?
Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.
Message Sent!
Thanks for reaching out. I'll get back to you within 24 hours.
Prefer email? Reach me directly at [email protected]