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

  Create a class called oddintegers with a main method

Create a class called OddIntegers with a main method.  Write the code that will compute the sum of the first n positive odd integers.  For example, if n is 5 you should compute 1 + 3 + 5 + 7 + 9.

  Write a java that reads from the user annual income

Write a Java program (name it IncomeTax) that reads from the user annual income as  integer value.

  Write a complete java program that draws a scatterplot

Write a complete Java program that draws a scatterplot by reading in points of data from a file and displaying them. The input data file consists of a pair of integers representing a point on each line of the file; the first integer is the x coord..

  Write a complete java program to simulate ahmed''s show

Suppose you're on a game show and you're given the choice of three doors. Behind one door is a car; there is nothing behind the others. The car and is placed randomly behind the doors before the show. The rules of the game show are as follows:

  Implementation activities of software development

Analysis, design, and implementation activities of software development

  Writing a java program that provides simple statistics

You will be writing a Java program that provides simple statistics about the input data. The method stubs are given below. This assignment will give you experience with methods

  Write class encapsulating the concept of weather forecast

Write a class encapsulating the concept of the weather forecast, assuming that it has the given attributes: the temperature and the sky conditions, which could be sunny, snowy, cloudy, or rainy.

  Write a class that has three overloaded static methods

Write a class that has three overloaded static methods for calculating the areas of the following geometric shapes

  Includes methods which format invoice details for printing

Constructor for the Invoice class requires subtotal and customer type only

  Graphicsframe class

This program makes use of the GraphicsFrame class and the Drawable interface. Your missions is to create the class Airplane. Each Airplane object should store the following information (fields): manufacturer modelNumber maximumSpeed // in knots maxim..

  Determine when the application should stop looping display

Write an application that reads a series of pairs of numbers as follows: 1) product number 2) quantity sold - Create an application in java

  Create a basic hello world app

For this IP, you will create a basic Hello World app. Create an app using Android Studio that displays the following text on the GUI: Welcome to CS310.

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