Midterm 1

In this take-home exam you will work through $3$ tasks that cover the material presented in chapters $1$ to $12$.

Make sure to review our policies on take-home exams described here.

Important Dates

EventDayDateTime
ReleaseFriFeb 2609:00 AM ET
DueSatFeb 2709:00 PM ET

Grading: $37$ Points Total

  • Discussion on MysterySort: $5$ points
  • LinkedCumulativeMaxList.insertAt: $10$ points
  • BookCartTest: $6$ points
  • BookCart.sort: $11$ points
  • Discussion on Max's sort strategy: $3$ points
  • CheckStyle: $2$ points

You will get 23 points out of 37 points through AutoGrader. All the tests are hidden so you will not know what tests you've passed or failed until after grades are released!

Notes:

  • You may add private fields/methods/inner classes to the starter code.
  • You are not allowed to add/change any public fields/methods/classes/interfaces in the starter code.
  • You are not allowed to use Java's built-in data structures or data structures that are not covered in the course yet.
  • Your Java source code must be Checkstyle compliant with the course configuration file.

Download the starter code here.

Solution code

Solution code for this exam.