Develop a small java console application

Assignment Help Other Subject
Reference no: EM132362374

Assignment 1

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

Alice and Bob are small business owners who run a Café at Halls Gap in rural Victoria. They are experiencing an increase of customers over the past year or so - mostly international. They would like to improve the way that they handle transactions and to have more flexibility in offering different transactions. Up till now, they did not track individual payments, merely adding the total amount at the end of the day to determine their total sales. Now, Alice and Bob wants to offer credit card payment options (both Pay Wave and PIN), to allow for spontaneous purchases where potential customers may not have cash on hand. Due to the low profit margins on the products and the bank fees charged for the processing of card payments, a 1.5% surcharge on all MasterCard, and Visa card payments is required to keep the business profitable; Amex cards require 3%. With different methods for payment now available, Alice and Bob want an automated method to track both total sales amounts and the total of the card surcharges collected so that this is more streamlined and less time-consuming to manage.

They would also like to be able to add Bitcoin payments in the near future.

You have agreed to design and develop a small Java console program for them, enabling them to select either a cash or card payment and enter the total amount of the sale. For cash payments, no additional charges are required. For card payments, the program will calculate the appropriate surcharge and display the updated total of the sale so that they may enter this directly into the card payment system.

Once the sales have been completed, the program will provide options to enter another sale (cash or card), or to display the current payments received. These payments should be broken down into cash sales, card sales, card surcharges and total product sales (cash sales plus card sales, not including card surcharges). There is no need for this data to persist once the program has stopped running.

They want the system to be flexible so that they can include additional functionality at a later date without having to have the entire program rewritten. This means you will need to use an interface for processing payments, and polymorphism for the various payment classes, so that new, different payment types may be added at a later date with minimal updates to the code. They 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 a Use Case diagram and Use Cases to summarize the requirements in written format, as well as Class and sequence diagrams.

Verified Expert

Alice and Bob are running a cafe, and want to automate their transactions.This is a simple Object oriented java program that solves their problem. Cash/Master card/VISA/Amex transactions are allowed, and the java program is written in a modular fashion.The code makes use of polymorphism, and can be easily modified to enhance requirements later. The input/output is on the console, and no GUI support is provided.

Reference no: EM132362374

Questions Cloud

Prepare a report recommending job analysis and job design : The company can be from any industry. Imagine that you have been appointed as the Human Resource Manager of your chosen company.
Write short narrative that describes kiosk check-out process : Write a short (not more than 750 words) narrative that describes the kiosk check-out process. Illustrate the check-out process using your choice of workflow.
My views on the benefits and danger of social : My Views on the Benefits and danger of social. Discuss two or three (2-3) benefits you or others have experienced with social media.
Why do some converging technologies raise special issues : Why do some converging technologies raise special ethical and social issues? Describe key aspects of pervasive (or ubiquitous) computing.
Develop a small java console application : ITECH7201 - Software Engineering: Analysis and Design - Analysis and design techniques, including development of use cases and UML diagrams - specifically
Describe business continuity planning and disaster recovery : Need to develop an information security program for an organization of your choosing. This organization can be real, such as an organization.
Explain the crime that was solved : Explain the crime that was solved and the methods used to determine how the crime was committed. Some examples of crimes solved may include locating missing.
Discussion on basic it skills and computer architecture : A digital forensics professional must know basic IT skills, understand computer architecture and networking, and have analytical and investigative skills.
Demonstrate the need for project management metrics : Demonstrate the need for project management metrics - Establish the importance of metrics in effective management of time, cost, and scope

Reviews

len2362374

8/28/2019 2:51:03 AM

Reflection on Learning 3 • 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 30 Final /20

len2362374

8/28/2019 2:50:58 AM

Development of Code – present the pseudocode in the report 2 A complete Java program addressing the requirements outlined in the Assignment Details section of this specification, including: • Functionality to process cash payments 1 • Functionality to process card purchases for each card (MasterCard, Visa, Amex) including display of the total product sales with appropriate surcharge added 6 • A payments received option that displays the total card sales amount, the total cash sales amount, the total card surcharge amount and the total product sales amount (card plus cash, not including card surcharges). 1 • Code demonstrating the use of an interface and polymorphism to handle payments and the various payment options available 6

len2362374

8/28/2019 2:50:50 AM

Task Available Marks Requirements Analysis and Design – explain how these were generated 2 • A Use Case Diagram reflecting the functionality of the system 2 • Use Cases summarizing the requirements of the program 3 • A Class Diagram of the intended system 2 • A Sequence Diagram for processing a customer’s purchase 2

len2362374

8/28/2019 2:50:41 AM

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 AssignmentDetails.

len2362374

8/28/2019 2:50:33 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 report1 comprising: ? Use Cases summarizing the requirements ? UML Diagrams, created in Enterprise Architect, comprising: • a Use Case Diagram for processing a purchase • a Class Diagram of the intended system • a Sequence Diagram for processing a credit card purchase. ? 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.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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