Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Tasks
1. Implement the classes and methods described in the Javadoc as being requried for assignment
two.
2. Implement the indicated features of the user interface.
3. Write JUnit 4 tests for all the methods in the following classes:
• BuildingInitialiser (in a class called BuildingInitialiserTest)
• MaintenanceSchedule (in a class called MaintenanceScheduleTest)
Marking
The 100 marks available for the assignment will be divided as follows:
Symbol Marks Marked Description
F 45 Electronically Functionality according to the specification
R 35 Course staff Code review (Style and Design)
J 20 Electronically Whether JUnit tests identify and distinguish between correct and
incorrect implementations
The overall assignment mark will be A2 = F + R + J with the following adjustments:
1. If F < 5, then R = 0 and code style will not be marked.
2. If R > F, then R = F.
For example: F = 22, R = 25, J = 17 ⇒ A2 = 22 + 22 + 17.
The reasoning here is to place emphasis on functional code and to not to give marks to well styled
code and well implemented JUnit tests when the code is not functional.
Functionality Marking
The number of functionality marks given will be
F =
Functionality tests passed
Total number of functionality tests · 45
Each of your classes will be tested independently of the rest of your submission. Other required
classes for the tests will be copied from a working version of the assignment.
Code Review
Your assignment will be reviewed and style marked with respect to the course style guide, located
under Learning Resources > Guides. The marks are broadly divided as follows:
Naming 5
Commenting 7
Structure and Layout 7
Code Design 8
Object-Oriented Practices 8
For Code Design we are looking for well thought out code that is easily followed and is maintainable.
For Object-Oriented Practices we are looking for the course content to be applied to solve
certain challenges present in the assignment.