GridWorld will not be featured on the 2015 and subsequent AP CS Exams

GridWorld will not be featured on the 2015 and subsequent AP CS Exams. These practice materials are made available for students and teachers who continue to use GridWorld.

GridWorld Case Study Critter Class Explanation

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. The Critter class from the GridWorld Case Study is used on the AP Computer Science Exam to test your understanding of inheritance, postconditions, and a variety of other topics. The multiple choice section typically features one challenging question about the Critter ...

RockHound solution

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. RockHound processes actors differently than Critter so it must override processActors. Overriding the correct methods of Critter is commonly tested on the AP Computer Science Free Response.

BlusterCritter solution 4

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. BlusterCritter gets and processes actors differently than Critter; therefore, it must override getActors and processActors. Getting each location (or Actor, Critter, Rock, etc) within a specific number of spaces is commonly required on the AP Computer Science Free Response. The solution ...

QuickCrab solution

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. QuickCrab moves differently than CrabCritter; however, this does not imply that it should override makeMove. Instead, the postconditions require that QuickCrab override getMoveLocations to select a different set of move locations if possible. The requirement that QuickCrab move like CrabCritter if ...

KingCrab solution 2

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. KingCrab processes actors differently than CrabCritter; therefore, it must override processActors. Overriding the correct methods and adhering to the postconditions of the superclass methods is commonly required on the AP Computer Science Free Response. KingCrab must push actors farther away from ...