Get More (Free) Content
Part I: Using This B ook to Improve Your AP Score
Preview: Your Knowledge, Your Expectations
Your Guide to Using This Book
How to Begin
Part II: Practice Test 1
Practice Test 1
Practice Test 1: Diagnostic Answer Key and Explanations
How to Score Practice Test 1
Part III: About the AP Computer Science A Exam
The Structure of the AP Computer Science A Exam
How AP Exams Are Used
Other Resources
Have You Heard About AP Computer Science Principles?
In Conclusion
Part IV: Test-Taking Strategies for the AP Computer
Science A Exam
Preview
1 How to Approach Multiple-Choice Questions
2 How to Approach Free-Response Questions
Reflect
Part V: Content Review for the AP Computer Science
A Exam
,3 Primitive Types
Programming Style
Comments, Identifiers, White Space
Compiling & Errors
Objects & Primitive Data
Output (and Some Input)
Variables & Assignment
The Four Data Types—int, double, boolean, char
Arithmetic Operations
Key Terms
Chapter 3 Review Drill
Summary
4 Using Classes and Objects
The Math Class
The String Class
Key Terms
Chapter 4 Review Drill
Summary
5 Boolean Expressions and if Statements
The if Statement
Key Terms
Chapter 5 Review Drill
Summary
6 Iteration
The while Statement
The for Statement
, Key Terms
Chapter 6 Review Drill
Summary
7 Writing Classes
Design & Structure
Methods
Composition
References
Static Modifier
Key Terms
Chapter 7 Review Drill
Summary
8 Array
Primitives & Objects
Searches
Sorts
Implementation of a Selection Sort
Implementation of an Insertion Sort
Implementation of a Merge Sort
Key Terms
Chapter 8 Review Drill
Summary
9 ArrayList
Lists & ArrayLists
Arrays versus ArrayList Chart
Key Terms