WeBWorK in CS
Problems in discrete mathematics, Java, Python, SML, and logic are available at: 
Some computer science AP exam problems are also available.
A tutorial on how to write problems grading Java programs (PG + JUnit code) is available at: 
The webpage of the ~WeBWorK in CS project is available at: