Midterm 2

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

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

Important Dates

EventDayDateTime
ReleaseWedMar 3110:00 AM ET
DueThuApr 0110:00 PM ET

Grading: $37$ Points Total

  • Task-1: Testing and discussion [$6$ points].
  • Task-2: Implementation and discussion [$13$ points].
  • Task-3: Implementation and discussion [$16$ points].
  • CheckStyle: $2$ points

You will get 16 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 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 (unless your are authorized to do so in a given task).
  • 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.