This is a free site for programming practice. Complete the code in the browser and submit. Try this example. If your report looks like this, keep on trying until all test cases pass.
For more problems, follow one of the links below.
There are two points.
Use Firefox or Chrome.
You don’t. The system has no long-term memory. It just runs the tests and displays the report. The report will hang around for a few hours, but don’t count on it.
Tell your students to click on the Download button to get a signed zip file. Give them instructions on how to submit the report to you (by email, by submitting it into your learning management system, carrier pigeon, whatever).
jarsigner -verify Submission.signed.zip. You should get a message
Yes, provided you made a note of the edit URL when you uploaded your problem. The edit URL allows you (or anyone else who has it) to edit the problem statement. Clearly, you don't want to share it with your students.
No. The problems on this site (including the problem statements, code, and arrangement) are copyrighted by Cay Horstmann or John Wiley & Sons, Inc, and you may not publish any of those. We ask nicely that you don't post solutions. It defeats the purpose of practice exercises. And what's the point? It doesn't make you look smart or employable.
Thanks to Chaz Chang from San José State University for implementing the “edit URL” feature that enables instructors to edit problems. Previously, an instructor had to make a new problem to fix any issues with a problem.
Thanks to Greta Yu from Evergreen Valley High School for implementing multiple editable areas. In older versions of CodeCheck, the entire code was in a single text area and it was not possible to protect code from being edited.
Thanks to Anthony Trinh and Hien Vu from San José State University for providing text areas for inputting and editing problems. Previously, it was only possible to upload a zip file.
If you have suggestions for improvement, please contact the author, Cay Horstmann (email@example.com).