Welcome to CompSci.rocks

CompSci.rocks - Random thoughts from a computer science classroom

InvocationTargetException Fix

An InvocationTargetException occurs in Java when you call a method through refection and that method throws an exception.

Read more...

Teachers' Grading Calculator

Online grading calculator to take the place of grading charts. Enter a question count and max score. This grade calculator will take care of the rest.

Read more...

Square Root Curve

A square root, or Texas curve is a quick and easy way to help all students, but help the lower scores a little more

Read more...

Linear Grade Distribution

This online grade curve calculator makes it a little easier to get your students' grades where you think they should be using a linear redistribution curve.

Read more...

Digits FRQ Solution

The Digits FRQ has you working with an integer, an ArrayList filled with Integer objects, and making a determination on that ArrayList based on contents.

Read more...

Pet FRQ Solution

The Pet FRQ from the 2004 AP Computer Science Exam tested that you can work with ArrayLists and understand how abstract classes work

Read more...

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