My computer science teacher recently mentioned JavaBat to my class. It was just what I had been looking for! I had been a bit bored near the end of class since I had completed the day’s project.
JavaBat gives a definition of itself:
Free online Java practice problems — basic logic, strings, loops, arrays, and recursion (example problem). Practice for an exam, or as homework, or in a lab.
JavaBat is basically a huge collection of tiny exercises that can help you understand and program in various aspects of Java. Such aspects include strings, arrays, logic recursion and AP computer science problems.
Definitely. I did about five AP-CS problems and while writing the solutions for the prompts. Each problem feels worth while; you get exposure to different types of questions and situations that might have been overlooked in books.
One More Thing
The thing that really makes JavaBat incredibly useful and excellent for learning are the online-compiler and test cases. JavaBat usually gives you an outline of a single method you are to write the body for. So you write the code in text box and hit go and then magic starts.
The code is sent to the served, parsed and interpreted. And then the code is run against many test cases to see if your solution is adequate and covers your bases. If your code does cover your bases, you’ll get green lights on all the test cases. However, if you’re solution isn’t yet able to handle all of the test cases, JavaBat will return the expected output, the output from your solution and give it a red light. This allows you to backtrack and inspect your code in as you may not normally do.
I highly recommend JavaBat to students who need something to do, teachers that need their students to do something and anyone that needs an interesting problem to solve in Java.
Sorry for being so slow to fix this post. It’s not longer neon green.