You need to design part of a system. Two separate designs are needed, one using top-down, functional methods and one using object oriented. High level details must be included for each of the two designs. Low level derails will be very similar for both designs and so only one set Is required, for the functional design.
1st) of all there is no programming at all. I don't
want you to implement this project but just to design
2nd) the documentation i need is the following:
high level design - functional: structure chart
high level design - object oriented: class diagrams
along with the relationship between them
low level design details : pseudocode
3rd) you have to make sure that is designed in the
format my lecturer provides and at the same level (not
very complicated or very simple)
I will provide you the module notes so you can
understand exactly what we have been learned so far.
([url removed, login to view]~cs0moa/[url removed, login to view])**
PLEASE DO NOT HESITATE TO ASK ME ANYTHING YOU DON'T UNDERSTAND SO I CAN MAKE SURE THAT YOU CAN DO EXACTLY WHAT I NEED.**
The program you need to design will process a customer's order and calculate the total cost taking into account the type of insurance required, the number of people requiring insurance, and whether or not the insured persons wish to make multiple trips. It is a prototype for a restricted part of the full system, in order to give you an assignment of a manageable size.
You need to design a program that will allow you to order an insurance policy from the following menu;
Loss of money or passport
The menu is to be displayed on screen, and the policy code will be selected from it. Alongside the policy code the customer will then enter the quantity required via the keyboard.
Te program will then calculate and display the Basic Product Price (unit price multiplied by quantity) next to the quantity, and will update and display the Order Total below the menu as each product is ordered.
Quantities can be altered by reselecting the policy code and re-entering the quantity. Valid quantities are in the range 0-10 for all products.
When the customer selects a fifth menu option "Details confirmed" to confirm that all details have been entered correctly the program will multiply the Basic Product Price by a factor (Multiple Trips Surcharge) according to how many trips the insured persons wish to make, as follows:
Number of trips
Multiple Trips Surcharge
One year, unlimited trips
The Multiple Trips Surcharge (in pounds) will be displayed, and then the Grand Total (Basic Product Price plus Multiple trips surcharge) will be calculated and displaced.
After the Grand Total has been displayed the customer will be offered three options - to go ahead with the order, to alter it or to reject it.
If me customer chooses to alter the order then the Multiple Trips Surcharge and the Grand Total will be reset to zero and the customer will return to the menu of options to reselect products and alter their quantities, or to make new selections.
If the customer chooses to reject the order the program will display a suitable message and exit, If the customer wishes to go ahead with the order I lie program will save the order details in the form of a new Customer Order. This consists of the selected product codes and their required quantities, together with the Order Total, the Multiple Trips Surcharge and the Grand Total. It will also create an Underwriter Order consisting of three fields, the policy code, the quantity required, and (he number of trips required, for each of me different policies ordered. The program will then display a suitable message and exit. Other functionality as detailed in the Case Study will be needed for a full ordering system, and some of these can be shown in the Object-Oriented design. For the functional design, please restrict your design to this set of requirements described in this section. State any assumptions yon make, and do not waste lime designing animations of airplanes taking of people skiing, etc. as the program is not required to produce fancy graphics and no marks will be awarded for features such as these
**PLEASE DO NOT HESITATE TO ASK ME ANYTHING YOU DON'T UNDERSTAND SO I CAN MAKE SURE THAT YOU CAN DO EXACTLY WHAT I NEED.**
Documentation Only : structure charts , dfd's , class diagrams etc.