Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title Page
Copyright Page
Contents
Preface
Acknowledgments
About the Authors
Introduction
The Five-Step Program
STEP 1 Set Up Your Study Program
1 What You Need to Know About the AP Computer Science A Exam
Background Information
Frequently Asked Questions About the Exam
2 How to Plan Your Time
Three Approaches to Preparing for the AP Computer Science A Exam
Calendars for Preparing for Each of the Plans
STEP 2 Determine Your Test Readiness
3 Take a Diagnostic Exam
Using the Diagnostic Exam
Diagnostic Exam Answers and Explanations
STEP 3 Develop Strategies for Success
4 Strategies to Help You Do Your Best on the Exam
Strategies for the Multiple-Choice Section
Strategies for the Free-Response Section
STEP 4 Review the Knowledge You Need to Score High
Unit 0 Background on Software Development
What Is Java?
What Is a Software Developer?
What Is OOP (Object-Oriented Programming)?
Viewing the World Through the Eyes of a Software Developer
For the Good of All Humankind
Choosing Your IDE
HelloWorld
The Software Development Cycle
Designing Class Hierarchy
Testing
Rapid Review
Review Questions
Answers and Explanations
Unit 1 Primitive Types
Introduction
Syntax
The Console Screen
Primitive Variables
Mathematical Operations
Modifying Number Variables
Arithmetic Overflow
Types of Errors
Rapid Review
Review Questions
Answers and Explanations
Unit 2 Using Objects
Overview of the Relationship Between Classes and Objects
The Java API and the AP Computer Science A Exam Subset
The String Variable
The String Object
A Visual Representation of a String Object
String Concatenation
The Correct Way to Compare Two String Objects
Important String Methods
A String Is Immutable
Escape Sequences
The Math Class
The Integer Class
The Double Class
Autoboxing and Unboxing
Summary of the Integer and Double Classes
Rapid Review
Review Questions
Answers and Explanations
Unit 3 Boolean Expressions and if Statements
Introduction
Relational Operators
Logical Operations
Precedence of Java Operators
Conditional Statements
Rapid Review
Review Questions
Answers and Explanations
Unit 4 Iteration
Introduction
Looping Statements
Standard Algorithms
Rapid Review
Review Questions
Answers and Explanations
Unit 5 Writing Classes
The class Declaration
Instance Variables
Constructors
Methods
Putting It All Together: The Circle and CircleRunner Classes
Understanding the Keyword new When Constructing an Object
The Reference Variable Versus the Actual Object
The null Reference
Parameters
Overloaded Constructors
Overloaded Methods
static, static, static
Data Encapsulation
Scope
Documentation
The Keyword this
IllegalArgumentException
Rapid Review
Review Questions
Answers and Explanations
Unit 6 Array
What Is a Data Structure?
The Array
How We Use Algorithms
Why Algorithms Are Important
Algorithm Versus Pseudocode Versus Real Java Code
The Swap Algorithm
The Copy Algorithm for the Array
The Accumulate Algorithm
The Find-Highest Algorithm
Rapid Review
Review Questions
Answers and Explanations
Unit 7 ArrayList
The ArrayList
Important ArrayList Methods
The Copy Algorithm for the ArrayList
The Sequential (or Linear) Search Algorithm
The Accumulate Algorithm
The Find-Highest Algorithm
The Accumulate Advanced Algorithm
The Find-Highest Advanced Algorithm
The Twitter-Sentiment-Analysis Advanced Algorithm
Background on Sorting Data
Insertion Sort
Selection Sort
Rapid Review
Review Questions
Answers and Explanations
Unit 8 2D Array
The 2D Array
More Algorithms
The Accumulate Algorithm
The Find-Highest Algorithm
The Connect-Four Advanced Algorithm
Rapid Review
Review Questions
Answers and Explanations
Unit 9 Inheritance
Inheritance
Polymorphism
The Object Class
Rapid Review
Review Questions
Answers and Explanations
Unit 10 Recursion
Recursion Versus Looping
The Base Case
Merge Sort
Binary Search
Rapid Review
Review Questions
Answers and Explanations
STEP 5 Building Your Test-Taking Confidence
AP Computer Science A Practice Exam 1
AP Computer Science A: Practice Exam 1, Part I (Multiple Choice)
AP Computer Science A: Practice Exam 1, Part II (Free Response)
Practice Exam 1 Answers and Explanations, Part I (Multiple Choice)
Practice Exam 1 Answers and Explanations, Part II (Free Response)
Scoring Worksheet
AP Computer Science A: Practice Exam 2
AP Computer Science A: Practice Exam 2, Part I (Multiple Choice)
AP Computer Science A: Practice Exam 2, Part II (Free Response)
Practice Exam 2 Answers and Explanations, Part I (Multiple Choice)
Practice Exam 2 Answers and Explanations, Part II (Free Response)
Scoring Worksheet
Appendix
Java Quick Reference
Free-Response Scoring Guidelines
List of Keywords in Java
List of Required Runtime Exceptions
Language Features and Other Testable Topics
Common Syntax Errors for Beginning Java Programmers
Online Resources
← Prev
Back
Next →
← Prev
Back
Next →