Example Mastery Exams

Example 1

Before you begin read the description of the mastery here. In the first part of this exam you will be completing code to the House object. Here's the starter code to House.java and the tester code HouseTester.java and the output from the tester HouseTesterOutput.txt.

For quesitons 2, 3 and 4 of this exam you will be adding filter, insert and remove methods to a multiset of houses. Here's the starter code to the multiset Multiset.java, the tester code for the Filter FilterTester.java, the tester for the insert method InsertTester.java, and the code for the Remove method's tester RemoveTester.java.

Here are the solutions to this mastery House.java and Multiset.java.