Skip to content

Week 4 (Feb 10)

Your "reading" for this week is to prepare for the exam. Begin by answering the sample exam questions on your own so you know what you need to study. Then work through CodingBat problems and watch the review videos below. Note that these review videos were recorded last spring when we used a different order of topics, so you can ignore the week numbers.

Sample Exam Questions

Take the sample exam on your own, closed book, without a computer. Set a 50-minute timer so you can practice finishing in the time alloted.

The actual exam will be similar in nature and length to the sample exam.

exam1_sample.pdf

Once you have finished the exam, enter your code into VSCode and test it. Make a list of mistakes you made so you can understand what to review and what to check during the test. Experiment with the code asking what else might be asked about it.

Review Videos

Note

Last year, we didn't introduce classes until after the first exam. But we went into more detail on the fundamentals, as shown in these "review" videos. This year's exam will be based primarily on our HW1 and HW2, quizzes 1–4, and in-class activities.

Video 1: Parts of a Program Review (Variables, Printing, Methods)

Video 2: Types and Casting Review (Operators, Expressions, Comparisons, Logic, Conditionals, While Loops)

Video 3: Loops, Arrays, and Strings Review

Video 4: Classes Review (Writing a Simple Class)

Extra Practice

CodingBat is a great resource for reviewing content from homeworks 2 and 3. The first exam includes topics from the following categories:

  • Logic-1 and Logic-2
  • Array-1 and Array-2
  • String-1 and String-2