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

 

 

2005

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

A-1

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

Solution and notes

A-2

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

Solution and notes

A-3

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

Solution and notes

A-4

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

Solution and notes



2005 AP Computer Science AB

AB-1

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

AB-2

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

AB-3

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

Solution and notes

AB-4

This question involves a Map, Sets, and Queues.

Solution and notes

Copyright © 2005 by Skylight Publishing
support@skylit.com

* 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.