Since everyone here is so smart and helpful I thought this would be the perfect place to ask this.
Anyway...taking a programming class is kind of new to me, and my previous class was much more forgiving(the java programs were easier to write, there was a lot less emphasis on how the code was written, and the quizzes were all done online or open book/note when we had to write programs for the quiz)...this Java 2 class however is kicking my butt and I have to get a B in it, but I'm on the bubble and the final is going to make or break me. I really don't want to have to take this class again, but I'm at a loss for how to study really. This term we don't have a book, the teacher prints out his slideshows and gives us copies of sample code. Based on my quizzes my biggest problems are reading code and writing it. Any suggestions on how to practice this? For example he'll give us crazy loops that we have to figure out the output for. I guess I'm so used to the compiler that it's hard for me to think these things through without being able to test them. Also with writing code I usually have to use a lot of references, it's hard for me to remember the words I need to use, probably because I've gotten by copying and pasting for a lot of my programs.
Thanks for any advice/study help you can give me.
Even for experienced programmers going through a program step by step in your head to figure out what the program does can be very hard. It just takes practice to learn to do that well. Don't hesitate to ask for help on the forums here!