0% found this document useful (0 votes)
271 views

CT070!3!3 DPAT Assignment Question 1701

This document outlines an individual assignment to design an electricity meter management system for a student accommodation. Students will apply at least 4 design patterns, including one each of creational, structural, and behavioral patterns. They must implement the system with 10 meters, allow meter configuration by a supervisor, and include usage logging. The submission requires documentation of the system design, interface, patterns used, and a critical evaluation. The project will be graded on correct functionality, proper pattern implementation, code quality, documentation, and critical analysis. Plagiarism will result in lost credit.

Uploaded by

Sagaaboyz Mg R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
271 views

CT070!3!3 DPAT Assignment Question 1701

This document outlines an individual assignment to design an electricity meter management system for a student accommodation. Students will apply at least 4 design patterns, including one each of creational, structural, and behavioral patterns. They must implement the system with 10 meters, allow meter configuration by a supervisor, and include usage logging. The submission requires documentation of the system design, interface, patterns used, and a critical evaluation. The project will be graded on correct functionality, proper pattern implementation, code quality, documentation, and critical analysis. Plagiarism will result in lost credit.

Uploaded by

Sagaaboyz Mg R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

CT070-3-3 Design Patterns Individual Assignment Page 1 of 3

Weightage
The coursework is 50% of the assessment for the module.

Learning Outcomes:

On successful completion of this assessment, the student should be able to:


1. Apply design patterns appropriately in realistic applications using an object
oriented programming language.
2. Critically evaluate an example implementation of design patterns in a
programming language.

Asia Pacific University Student Accommodation Electricity Meter Management


System

Overview
The system to be designed and development concerns the management of electricity
meters in the student accommodation at the new Asia Pacific University campus. The
proposed system will monitor the consumption of electricity within and across all
apartments, allowing management to correctly bill each individual tenant but also enable
the building supervisor to shut down and resume each individual apartments electricity
meter when necessary. The electrical set up of the building is such that each apartment
has its own meter (assume there are 10 apartments), whilst a central main meter situated
next to the building supervisors office provides overall control of all individual meters.

Individual Meters
Each apartment has an electricity meter which monitors and records electricity
consumption by the apartment occupant. The basic rent charged by the University
covers a monthly electricity usage level of 200 kWh, and any additional usage is charged
by at a rate of 50 Sen per kWh used. At the end of each month the total extra is
calculated and the student is billed the amount due. To protect students against the risk
of incurring substantial bills a maximum monthly electricity consumption limit of 1000
kWh has been set by management. Once this limit is reached the meter should
automatically be disconnected.

Students also have the option of opting for a prepay meter system. In such cases the
student is required to top-up their account and the cost of excess consumption is
deducted from their credit/balance. The meter should therefore automatically disconnect
once the credit has been used up and restart within an hour once the student tops up their
account. All meters are the same in terms of hardware. This means that any meter can
be switched from a pre-pay to a post-pay and back again. This is done by the supervisor
through the main control meter. At any one time students should be able to determine
how electricity has been consumed. Tenants with a pre-pay meter should be also able to
see their remaining credit/balance, whilst billed/post-pay tenants should be able to see
costs incurred thus far (i.e. 0 if within the 200 kWh or the charges for the excess)

Main Control Meter


The main meter records usage of electricity across all apartments (i.e. the
condominiums total electricity consumption), as well as provides the ability to monitor
and control individual apartment meters. The supervisor is able to switch meter types
Level 3 Asia Pacific University of Technology and Innovation 2017
CT070-3-3 Design Patterns Individual Assignment Page 2 of 3

(post-pay to prepay and vice versa), as well as shut down and restart individual meters.
The main meter also allows for the resetting of individual meters, which is done when a
new tenant moves into an apartment.

If possible, the buildings management require a transaction log to record changes in


meter type, the resetting of meters etc.

Assignment Requirements

a. Using the above scenario outline write a working version of the Accommodation
Meter System
b. Your project should allow the user (Supervisor) to create up to 10 individual
meters as and when needed.
c. Implement the user interface any way you like, either textual or graphical
(although graphical is preferred).
d. Your project must incorporate a minimum of 4 design patterns
e. You much implement at least 1 Creational, Structural, and Behavioural pattern
respectively
f. Objectively and critically evaluate your solution and choice of patterns, as well
as the suitability of each design pattern for implementing object oriented
solutions.

Assignment Deliverables:

You should submit a hardcopy and an electronic copy of the assignment.

The hard copy of the assignment must include the following:


A cover page
Table of contents
Overview of the application
Brief description of the system architecture
User interface documentation
Brief report describing the use of design patterns
Refined class diagram as a result of implementing design patterns
Critical appraisal report
References
Appendix (Instructions on how to install and run the program should be provided
in an Appendix)
The electronic copy of the assignment must include the following:
All source files (Your assignment code must be well documented and use a
reasonable indentation style. In particular, places where design patterns are
implemented should be noted in the code.)
All class files
Any makefile, if used
Your Assignment Documentation

Level 3 Asia Pacific University of Technology and Innovation 2017


CT070-3-3 Design Patterns Individual Assignment Page 3 of 3

MARKING CRITERIA

Your project will be graded according to the following criteria:


Program Correctness - 20%
o The program performs all of its required functions properly.
o The program has no bugs.
o The program handles appropriate error conditions properly.
o The program operates with reasonable efficiency.
Proper implementation of all appropriate design patterns - 25%
Coding Style - 10%
o Good readability and understandability.
o Proper use of indentation to highlight function flow control.
o Proper use of comments to highlight distinct features/sections.
Assignment Report - 20%
(Overview, system architecture, user interface documentation, report describing
the use of design patterns and refined class diagram)
Critical Appraisal report - 25%

As in all your work, NO COPYING OR PLAGIARISM. If such is detected, no credit for


the project will be given and appropriate actions for academic dishonesty will be taken.

Level 3 Asia Pacific University of Technology and Innovation 2017

You might also like