The first midterm test is on Friday, October 13th.

There is a sample midterm from the pen-and-paper era. Questions on your midterm will be different, but of the same ilk.

You should try to complete the sample test on your own. You are going to have to write a real test, and the best way to prepare for that is by writing tests. Just looking at the answers is not the same at all!

Once you have completed the test to your satisfaction, you should look up the answers in the Course Material > Sample Code part of the course website.