Welcome to CompSci.rocks

CompSci.rocks - Random thoughts from a computer science classroom

PR2004 Robot FRQ Solution

The PR2004 Robot Free Response question from the 2004 AP Computer Science exam has you working with an array of integer values.

Read more...

Successors FRQ Solution

In Successors you're working with a 2d-array of integers and an arbitrary class, Position

Read more...

Study Practice FRQ Solution

Study Practice has you working with a parent and subclass to build a class for practicing multiplication problems

Read more...

Phrase FRQ Solution

In Phrase you're working with processing a string

Read more...

String Formatter FRQ Solution

The String Formatter free response question from the 2016 AP CompSci exam asked you to implement code to format a string to a fixed width by adding spaces between words

Read more...

Random String Chooser FRQ Solution

The first free response question on the 2016 AP Computer Science exam, Random String Chooser, had you write a complete class that could be dropped into a bit of sample client code.

Read more...

LogMessage FRQ Solution

LogMessage has you working with Strings and an ArrayList of a class called LogMessage.

Read more...

Crossword Free Response Solution

The Crossword Free Response question on the 2016 Computer Science AP-A exam had you working with a 2-d array of an arbitrary class.

Read more...

WordList FRQ Solution

On WordList you are working with an ArrayList of Strings and checking their lengths

Read more...

GrayImage FRQ Solution

The GrayImage free response problem from the 2012 AP Computer Science exam has you working with a 2 dimensional array of integer values.

Read more...

WordPair Solution

In WordPair you're working with a list of an arbitrary class called WordPair

Read more...

Frog Simulation Solution

The frog simulation FRQ on the 2018 AP CompSci exam tested your logic and algorithmic ability by checking if a frog can successfully hop their way to a goal.

Read more...