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

 

 

2010

Free-Response Questions: Annotated Solutions

The 2010 free-response questions are posted on the College Board's web site.

The x2010all.zip file contains complete Java classes for runnable projects with small test programs.

2010 AP* Computer Science A

A-1

In this question you have to traverse an ArrayList and remove elements from it.

Solution and notes

A-2

In this question you have to write a simple class with a constructor and two short methods.

Solution and notes

A-3

In this question you have to find the largest difference between two values in a segment of an array and count the number of big changes between neighboring elements.

Solution and notes

A-4

This question deals with the GridWorld case study. You are asked to apply Grid methods to find an Actor with the largest number of neighbors and to count the number of occupied locations within a specified region of the grid.

Solution and notes



Copyright © 2010 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.