Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

Assessment Criteria

Assessment Task

 

Weightage

MLO    Assessed

Formative / Summative

Assessment Instrument

 

Topics

 

Week

 

MCQ2.0

Practical         Assessment 2

 

15%

 

MLO 4

 

Formative

Individual

Assignment

Hands-on

 

3,4

 

4

 

C2, C3D

 

The objective of this assessment is to enable the students to:

Design, develop, test and debug application in various industries.

An international insurance firm has decided to convert its annual premium generation system to a fully Object Oriented (OO) System using Python environment.  The existing system keeps the premium details separated by types of insurances; Property and Medical. All types have attributes Account No, Annual Premium (AP), and Risk Ratio (RR). In addition, Property keeps track of property value, and Medical has maximum coverage (MC).

Example data for Property

Prop 1

Prop 2

ANO = P001

ANO = P002

AP = $7,500

AP = $3,000

RR = 0.005

RR = 0.006

PropValue = $1,500,000

PropValue = $500,000

Example data for Medical

Medic 1

Medic 2

ANO = M001

ANO = M002

AP = $1500

AP = $4000

RR = 0.015

RR = 0.01

MC = $100,000

MC = $400,000

To test the validity of the OOP structures, few transactions that generate various properties and medical premium should be demonstrated.  You also need to ONE (1) more type of insurance, and add ONE (1) additional attribute for each of the three types of insurance that influence the risk ratio.

Output Examples

Property details output (without additional attributes and a subclass) screen example

***** PROPERTY PREMIUM DETAILS *****

Account No      : P001

Annual Premium  : $7500.00

Risk Ratio      : 0.005

Property Value  : $1500000.00

 

***** PROPERTY PREMIUM DETAILS *****

Account No      : P002

Annual Premium  : $3000.00

Risk Ratio      : 0.006

Property Value  : $500000.00


***** MEDICAL PREMIUM DETAILS *****

Account No      : M001

Annual Premium  : $1500.00

Risk Ratio      : 0.015

Maximum Coverage: $100000.00

 

***** MEDICAL PREMIUM DETAILS *****

Account No      : M002

Annual Premium  : $4000.00

Risk Ratio      : 0.01

Maximum Coverage: $400000.00

 

 

TOTAL PREMIUM   : $16000.00


Sample transactions output (without additional attributes and subclass) screen example

 

P001 Increases Property Value $500000

P002 Decreases Properly Value $100000

M001 Increases Coverage $100000

M002 Deceases Coverage $150000

***** PROPERTY PREMIUM DETAILS *****

Account No      : P001

Annual Premium  : $10000.00

Risk Ratio      : 0.005

Property Value  : $2000000.00

 

***** PROPERTY PREMIUM DETAILS *****

Account No      : P002

Annual Premium  : $2400.00

Risk Ratio      : 0.006

Property Value  : $400000.00

 

***** MEDICAL PREMIUM DETAILS *****

Account No      : M001

Annual Premium  : $3000.00

Risk Ratio      : 0.015

Maximum Coverage: $200000.00

 

***** MEDICAL PREMIUM DETAILS *****

Account No      : M002

Annual Premium  : $2500.00

Risk Ratio      : 0.01

Maximum Coverage: $250000.00

TOTAL PREMIUM   : $17900.00

 

Conduct an in-depth analysis and design of an OO solution to the problem above. Specifically, you need to provide the followings:

1.  A top level UML use case diagram that shows the use case relationships among main actors. You may list your own assumptions.

2.  A high level UML class diagram with minimum of FIVE (5) classes that has a has-a” and a “is-a” relationships, and represents the structure of the above system. This should include the ONE (1) additional attribute for each of the subclasses.

Deliverables

A well-structured and properly formatted academic document that contains the UML use case and  UML class  diagrams,  and any associated  assumptions.    Ensure that your submission includes a cover page which shows your name, student ID and assignment name.                       All submission should be in pdf format (Asgn2Part1_StudentNo_FirstName.pdf).

Submission Due Date: 1159pm 22/06/2022 submit via times.taylors.edu.my submission link.

 

Based on your design in Task 1, create a full object-oriented Python program that contains multiple classes and object transactions in the main program.  Specifically, you need to demonstrate the followings:

1.   Instantiation of at least six insurance account (hard coded); two from Properties, two from Medical, and two from the insurance type of your choice.

2.   Encapsulation of all attributes.

3.   Inheritance relationship.

4.   Polymorphism that covers method overriding and method overloading where possible.

5.   Minimum of two input exceptions to facilitate debugging.

 

Deliverables

A well-structured and properly formatted academic document that provides brief description of your class/object, and you must clearly point out where those OO concepts are used in your program.  In addition, include the source code of ALL Python files created for the program along with sample screenshots of your program’s output. Please follow proper coding style, use proper identifier naming, indent the code, and comment the code where appropriate .  Ensure that your submission includes a cover page which shows your name, student ID and assignment name. All submission should be in pdf format (Asgn2Part2_StudentNo_FirstName.pdf).

Submission Due Date: 1159pm 29/06/2022 submit via times.taylors.edu.my submission link.