CompSci.rocks - Random thoughts from a computer science classroom
An InvocationTargetException occurs in Java when you call a method through refection and that method throws an exception.
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.
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
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.
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.
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
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.
Successors FRQ Solution
In Successors you're working with a 2d-array of integers and an arbitrary class, Position
Study Practice FRQ Solution
Study Practice has you working with a parent and subclass to build a class for practicing multiplication problems
Phrase FRQ Solution
In Phrase you're working with processing a string
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
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.