O  About this book

 O  Ordering Info

 O  Order now

 O  Java Methods AP Edition

 O  Java Methods Test Package

 O  250 MC Questions in Java

 O  Links

 O  Workshops

 O  Solutions: other years

 O  Be Prepared home page

 O  Skylight's home page




Free-Response Questions: Annotated Solutions

The 2005 free-response questions are posted on The College Board's web site:

The x2005all.zip file contains complete Java classes for runnable projects with small test programs.  Several MBS and College Board classes must be added to run A-3, AB-1, and AB-4. 

2005 AP* Computer Science A


In this question you have to handle an array of objects and an ArrayList of Strings.

Solution and notes


This question involves a small hierarchy of classes, and calling constructors and methods of the superclass.

Solution and notes


This question is a Marine Biology Simulation case study question.  It involves supplying two methods for a new class of fish.

Solution and notes


This question involves simple algorithms for averaging and comparing values in an array of integers.

Solution and notes

2005 AP Computer Science AB


This question is a Marine Biology Simulation case study question.  You have to redefine the nextLocation and act methods for a new fish class.

Solution and notes


This question involves reasoning about the big-O properties of get and put operations in HashMap and TreeMap and using an iterator to traverse a TreeSet.

Solution and notes


This question involves algorithms for a Binary Search Tree with TreeNode nodes.

Solution and notes


This question involves a Map, Sets, and Queues.

Solution and notes

Copyright © 2005 by Skylight Publishing

* AP and the Advanced Placement Program are registered trademarks of the College Entrance Examination Board,
which was not involved in the production of this web site.