Focusing on polymorphism and the use of interfaces

Assignment Help JAVA Programming
Reference no: EM132103050

Overview

You are required to design and develop a small Java console application. Completion of this assignment requires an understanding of:
- Analysis and design techniques, including development of use cases and UML diagrams - specifically, use case diagrams, class diagrams and sequence diagrams
- Object-oriented programming, focusing on polymorphism and the use of interfaces

Learning Outcomes

The following course learning outcomes are assessed by completing this assessment:
- Understand the significance of detailed project planning and control, good communication and documentation and the use of appropriate tools in order to provide a quality product
- Understand the distinction between software engineering and programming, and thus the distinction between a software configuration and a program
- Understand the methods and techniques involved in designing, implementing and maintaining an information system, in particular using an object-oriented approach
- Demonstrate skills in designing and implementing an information system.

Assessment Details

A new party plan company (which sells any product of your choice) is opening in Australia. This company operates on a membership structure, offering discounts on the recommended retail price of product purchases based on a tiered membership approach:

Membership Level

Discount on Product Purchases

Member

5%

Bronze Member

10%

Silver Member

15%

Gold Member

20%

Platinum Member

25%

You have agreed to design and develop a small Java console program for this company, with four menu options. Option 1: Create a member.

The member needs to have a name and a membership tier.

Option 2: Make a purchase. Select a member who is making a purchase, enter the total recommended retail value of that purchase and calculate the corresponding discounted price.

Option 3: Display a summary of transaction data for the current session, showing:
- The total number of sales processed and the payment amount received for these sales
- The total number of sales processed for each membership tier, the payment amount received for each tier and the total discount given at each membership tier.

Option 4: Exit the system

After completing any of the first three options, the program returns to the menu so the user can select another option. After selecting the fourth option, the program closes. There is no need for the program data to persist once the program has closed.

The party plan company wants to be able to add additional membership tiers at a later date, so the system needs to be flexible. This means you will need to use an interface for processing payments, and polymorphism for the various membership classes, so that new, different levels of membership may be added at a later date with minimal updates to the code. The company has also asked that you provide them with some documentation before you commence coding, so that they are able to verify that the program you intend to code will address their requirements. They would like to see use cases to summarize the requirements in written format, as well as use case diagrams, class diagrams and sequence diagrams.

Verified Expert

The solution file is member ship level to perform retails sale implemented in netbeans and report prepared in ms word which has all UML diagrams are class diagram, sequence diagram, use cases diagram in enter price software.

Reference no: EM132103050

Questions Cloud

Express the weight of the balloon : A balloon filled with helium gas has an average density of Ïb = 0.25 kg/m3. The density of the air is about Ïa = 1.23 kg/m3.
Compute the break-even point in dollars : Denny Manufacturing had a bad year in 2012. Compute the break-even point in dollars under each of the alternative courses of action
Example of stakeholder in the construction : Which of the following is an example of a stakeholder in the construction of a new convenience store?
Find the height from which the ball was thrown : A ball is tossed from an upper-story window of a building. The ball is given an initial velocity of 7.90 m/s at an angle of 23.0° below the horizontal.
Focusing on polymorphism and the use of interfaces : ITECH7201 Software Engineering: Analysis and Design - Analysis and design techniques, including development of use cases and UML diagrams - specifically
What is the velocity of the ball : A ball is shot from the ground into the air. At a height of 8.8 m, the velocity is observed to be v = (7.7)i + (5.7)j in meters per second.
Draw the diagram for the standing wave : You are attempting to create a standing n = 7 in pipe 0.50 m in length and filled with air. The top the pipe open to the air and the bottom of the pipe.
Fatality accident that occurred on jobsite : Where would you report a fatality accident that occurred on a jobsite in Dallas of a business that employs 100 full-time workers?
Prepare income statements using variable costing : In 2012, the production and sales results were exactly reversed. Prepare income statements for each year using variable costing

Reviews

inf2103050

12/17/2018 12:03:20 AM

Diagram,test cases and comments should be there in report. Please provide interface architecture diagram, .eap file Use case, class and sequential diagram together is called EAP.... already we attached all diagrams in solution Use enterprise architect software In EAPX File, its all diagram opening. Experts Mind.com, I really appreciate for my assignment work. They have given me the assignment before a day to my deadline. It is cheaper than other sites. Thanks

len2103050

9/3/2018 2:52:19 AM

Reflection on Learning 2 • A short reflection (approximately 200-300 words) discussing the importance of requirements design and analysis, UML diagrams and object-oriented programming with interfaces and polymorphism. Total 20

len2103050

9/3/2018 2:52:09 AM

Development of Code A complete Java program addressing the requirements outlined in the Assignment Details section of this specification, including: • Functionality to create members at each of the membership tiers 1 • Functionality to process purchases for each of the membership levels, including display of the correct discounted purchase price for that member 2 • A progressive payments menu option that displays the total number of sales processed and the payment amount received for these sales, the total number of sales processed for each membership tier, the payment amount received for each tier and the total discount given at each membership tier. 1 • Code demonstrating the use of an interface and polymorphism to handle discounts and the various membership options available 6

len2103050

9/3/2018 2:52:02 AM

Marking Criteria/Rubric Task Available Marks Student Mark Requirements Analysis and Design • Use Cases summarizing the requirements of the program 2 • A Use Case Diagram for processing a purchase by a member 2 • A Class Diagram of the intended system 2 • A Sequence Diagram for processing a member’s purchase 2

len2103050

9/3/2018 2:51:57 AM

You are required to submit the assignment before the due date consisting of: • A Zip file containing the following (submitted via Moodle under the Assignment 1 link) o A written report comprising: ? Use Cases summarizing the requirements ? UML Diagrams, created in Enterprise Architect, comprising: • a Use Case Diagram for processing a hire agreement • a Class Diagram of the intended system • a Sequence Diagram for processing a hire agreement for a member. ? A short reflection (approximately 200-300 words) discussing the importance of requirements design and analysis, UML diagrams and object-oriented programming with interfaces and polymorphism. As an example, if you found that you changed your initial UML diagrams after you had commenced coding, you should explain what these changes were and explain what you learnt that led to these changes. o Enterprise Architect file(s) containing your UML Diagrams for the Use Case, Class and Sequence Diagrams o Your finished Java program, addressing the requirements outlined in the Assignment Details.

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd