AP Computer Science A and studying tips?

Hey,

I’m looking for some study tips for my AP Computer Science A Class. On the first test I think I did decently well, but I wasn’t used to the formatting and ended up rushing a bit to finish the test on time. It was also my first AP styled test, and I wasn’t used to that.

Does anyone have any tips for taking the tests? I got stuck on the “choose a piece of code that will do this task” that could have multiple or just one right choice for the multiple choice.

Furthermore, does anyone have any study tips in general? I know computer science is a hard class to study for anyway, since most of your learning is going to be done while coding the programs. Do you have any tips/tricks to help me? Thanks!