
About this book
Ordering Info
Order now
Java Methods AP Edition
Java Methods Test Package
250 MC Questions in Java
AP Links
AP Summer Institutes
Be Prepared home
Skylight's home
|
|
2009
Free-Response Questions: Annotated Solutions
The 2009 free-response questions are posted on The College Board's
web site:
The x2009all.zip file contains complete Java classes for runnable projects with small test programs.
2009 AP* Computer Science A
A-1
|
In this question you have to find the longest run of repeating values in an array.
Solution and notes
|
A-2
|
This question deals with the GridWorld case study.
You have to write a subclass of Critter .
Solution and notes
|
A-3
|
In this question you have to add consecutive elements of an array with
wraparound and find the smallest value among such sums.
Solution and notes
|
A-4
|
This question deals with an ArrayList .
Solution and notes
|
2009 AP Computer Science AB
AB-1
|
This question requires recursive handling of a binary tree.
Solution and notes
|
AB-2
|
This question deals with the GridWorld case study.
You have to write methods for a subclass of Critter using
a java.util.Map<Location, Integer>.
Solution and notes
|
AB-3
|
This question asks you to write a class ArithmeticNumberStream ,
which helps to generate a sequence of numbers and implements a given interface.
Solution and notes
|
AB-4
|
This question deals with expanding sets of contacts among Person s.
Solution and notes
|
|