Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Weighting: 40% of the course total marks.
Submission instructions are at the end of this document.
Instructions:
This assessment item must be conducted individually.
You will be creating an implementation design, implement it in python, and test the system.
The assignment will be based on a case study and a partial design given to you. Refer to the
document Assignment 2 Case Study on the course website for details about the case study.
Base your implementation on the code fragments given in Assignment 2 Code for
Students.zip archive on the course website.
All submitted materials must be entirely your own work (except the source code given to
you as part of the assignment specification).
Penalties apply for academic misconduct.
You will receive marks via learnonline within 3-4 weeks.
Answers will be scored based on correctness and completeness of your design and code,
and the quality of the design and corresponding code will be assessed. Please ensure that
your design and code are clean and self-documenting; code that works correctly but exhibits
poor quality will receive low scores. Refer to the marking scheme provided in this
document.
The word count for this assignment will not be verified. Please do not write excessively long
answers (3k+ words). Excessively short answers, such as submitting only diagrams or code
without reflection, are unlikely to satisfy the marking criteria.
It is your responsibility to use appropriate document management and source code control
tools if required and to always maintain adequate backup. Hardware and software failure
are not usually acceptable reasons for requesting extensions.
Start early and develop incrementally.
Assignment tasks
This assignment consists of four tasks. More detailed instructions about development
approach and submission process can be found in the Submission Instructions at the end of
this document.
Task 1: Class Implementation Design
Create a class-level design reflecting the to-be-created implementation of the system. Your
design must comply with the given component decomposition and extend the given partial
implementation that accompany the case study.
Use design principles, patterns, and principles of clean code to guide your design.
Document your implementation design as UML class diagrams. In addition, you may include
interaction diagrams if you deem them helpful to illustrate aspects of your design.
Interaction diagrams are however optional.
Discuss any major assumptions that you may have made and how they have influenced the
design.
The answers to this task will form part of the report to be submitted on learnonline. See the
Submission Instructions at the end of this document for details.
Task 2: Tests and Quality Assurance
You are expected to follow a test-driven development (TDD) approach when implementing
the system. That is, write the tests first, then write the source code of the implementation to
pass the tests.
Develop your tests and code base incrementally. That is, you will be interleaving the work
for Task 2 and Task 3, and potentially extend and/or revise your implementation design
created in Task 1 as you progress with these tasks.
Use pytest to create and run the tests.