Java catering program console based

Assignment Help JAVA Programming
Reference no: EM13759195

Java Catering Program Console Based

For this assignment, you are required to design and develop a console (text-based) application for a small catering business. This application will simulate booking appointments, tracking catering jobs and processing payments.

The program must cater for each of the following requirements:

1) Add a new catering appointment.

2) List all jobs still actively being worked on

3) List all completed jobs still requiring payment

4) List all jobs scheduled for work on a particular day

5) Accept a payment towards a completed appointment

6) Report detailed status for a particular booked appointment

7) Exit the Program

The work you submit must be your own individual work. Your work may be submitted by staff to an online code-plagiarism checking software service to compare your work to other students' work.
CRICOS Provider No. 00103D ITECH1400 Foundations of Programming Assignment 2 Semester 1 2015 Page 2 of 5
Task Description:

1) Design.
Prior to commencing coding, you need to plan what you're going to code. Write an algorithm that describes how your program is going to work and how it links together.

2) Implementation
Develop a program for the catering business staff. This needs to:
a. Use a menu to provide the user with options to access different parts of the program.
b. Include all the functionality listed under the application description and further described under functional requirements. Make sure this includes the following elements:
i. at least one arraylist
ii. at least one example of inheritance
iii. at least one example of polymorphism
iv. at least one example of overloading
c. Keep running until the user selects a menu option to exit the program. You do not need to save any data when you exit.
You should aim to write code following high quality coding practices, including comments, trapped exceptions and exhibiting good design where code is separated into separate methods.
Warning: In this task, you are not allowed to use any automated code-writing tools. You must manually write / type the whole program by yourself. Failing to do so will result in no marks for the entire assignment.
Functional Requirements

1) Add a new catering appointment.
Allow the user to enter information which constitutes a booking for a client seeking catering services. You do not need to treat companies any differently to individual persons. The following information is required for each booking:
The name, address and contact phone number of the client
The type of food, number of people to be served and any special requirements
The appointment date and time
You must also allow the user to indicate the type of booking that is being requested. This may be for supply of food only or for full service, covering both the provision of food and wait-staff to serve the guests. In the case of a full service, you must also collect a deposit of 30% on the day the booking is made. In the case of food-supply only, you must collect a deposit of 20% on the day the booking is made.
CRICOS Provider No. 00103D ITECH1400 Foundations of Programming Assignment 2 Semester 1 2015 Page 3 of 5

2) List all jobs still actively being worked on
This option must display a list of all the catering jobs that are in progress or have been completed on the current day by the catering business. Do not list jobs which are yet to start, or jobs which have been completed on a previous day. For each job that is active, simply report the name of the client, the appointment time, the type of service and its current status.

3) List all completed jobs still requiring payment
The user must be able to select an option to list all the jobs that have been completed but have not yet been paid in full. For each such job, list the name of the client, the type of service they booked and the amount owing. If a client has payment owing for more than one job, you may choose to either consolidate these into one entry or to display them on individual lines at your own discretion.

4) List all jobs scheduled for work on a particular day
The program must allow the user to see a list of all the services that are scheduled on a selected day. The user must be able to specify the day for which the list is to be provided.

5) Accept a payment towards a service job
Payments must be recordable against services. The user must indicate the particular job to which the payment is to be allocated (any method of doing this is acceptable). Then, if the selected job is one for which there is an amount owing, report that amount to the user, and obtain from the user the amount actually being paid right now.
If the amount entered is too much, report an error message. If the amount entered is less than the total that was owing, report the new amount owing afterwards. Otherwise, report that no further payments are required from the client.
Remember to keep track of all payments made on each day.

6) Report detailed status for a particular appointment
The program must be able to report the full details about any particular appointment, by allowing the user to specify the appointment for which they wish to see the details. This means you must report:
     The name, address and contact number of the client

     The type of catering service they booked

     The date of the appointment

     The type of food, number of people to be served and any special requirements

     The current job status (scheduled, in progress, complete, cancelled)

     The total cost, if known

     The amount paid and amount owing.
CRICOS Provider No. 00103D ITECH1400 Foundations of Programming Assignment 2 Semester 1 2015 Page 4 of 5

7) Exit the Program
The program must keep running until the user selects the option to exit. You do not need to save any of the data (i.e. there is no need to use files).

3) Testing.
In your supplementary documentation, explain how you have tested your code and the results of your testing. This means writing down the inputs and actions which the marker should follow to reproduce the scenarios you used to check the program is working. Include screenshots demonstrating the results when you tested your code.
Submission Requirements:
All files you wish to submit must be placed into a single ZIP file (with extension of .zip).
At a minimum, the following files should be present:
Assignment2.docx - for Tasks 1 and 3
All code files to allow your program to be compiled and run.

 

Reference no: EM13759195

Questions Cloud

Create a local database that will synchronize data : In the prior phase, you started work on some of the application's graphical user interface (GUI). In this assignment, you will add a data entry form to the GUI and create a local database that will synchronize data to the isolated storage containe..
Discuss the link between strategy and training : Develop and discuss the link between strategy and training and development in the organization.
Discuss the neolithic revolution : Discuss the Neolithic Revolution, citing its importance in terms of laying the groundwork for the ongoing development of technological advances throughout history
Write a three page essay on deconstructive analysis : Write a three page essay on deconstructive analysis, wlich identifies the differential relations between terms in a text and the contradictory meanings of each term.
Java catering program console based : For this assignment, you are required to design and develop a console (text-based) application for a small catering business. This application will simulate booking appointments, tracking catering jobs and processing payments.
Question regarding the reported for pension expense : What amount should be reported for pension expense in 2013?
Associated with having a sole proprietorship : What are the advantages and disadvantages associated with having a sole proprietorship?
Benefits of data mining to the businesses : Determine the benefits of data mining to the businesses when employing: Predictive analytics to understand the behavior of customer
Create the logic for a program that accepts an annual salary : Create the logic for a program that accepts an annual salary as input pass the salary to a method that calculate the highest monthly housing payment the user can afford assuming that the year's total payment is no more than 25 percent of the annua..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Inheritance involves the concept of super class

Inheritance involves the concept of super class (parent class) and sub class (derived class). What is a super class in Java? What is a sub or derived class in Java?

  1 what makes a program easy to modify2 describe the order

1. what makes a program easy to modify?2. describe the order of magnitude of the following code section using bigo

  Determines and displays the smallest and largest

Create a method that determines and displays the smallest and largest of the ten values. Then, pass the array to the method - Create a GUI application whose button's Click() method accepts ten integer values from a TextBox and stores them in an arra..

  Dijikstra for undirected graph using simple scheme

Dijikstra for undirected graph using simple scheme with array and fibonacci heap and compare the performance/results, preferably in java.

  Develop java package comprising of class using encapsulation

Develop the Java package comprising of Class and Student with the given requirements. Encapsulation, Method to print student details alone.

  String as its parameter and returns the length

Write a method named longestWord that accepts a String as its parameter and returns the length of the longest word in the string.A word is a sequence of one or more non-space characters (any character other than the space character).

  Algorithm analysis with advanced data structures

Write a program to help the merchants devise a sequence of transmutations that would change silver into gold with the smallest possible total fee paid to the alchemists.

  Given an array with 100,000 entries to sort

Sorting  given an array with 100,000 entries to sort. Under what circumstances would you use each of the following: insertion sort,mergesort'quicksort

  Write a simple program that uses the class

Write a simple program that uses the class. It should prompt the user to input a string, display it, call one or the other of the class functions to convert it, then display the converted string.

  Classes using set and get methods

Create a java program that contains two classes using set and get methods. I need the program to return the area and perimeter of a rectangle. I wrote a program and he returned to me saying I used the wrong constructors and didn't create a the sec..

  Develop a program that will handle a golfer and his scores

develop a program that will handle a Golfer and his scores. The program will be comprised of two classes: a Golfer class that will manage all the golfer's scores and a Score class.This is a class designed to represent a golfer including his name, hom..

  Why the java is called platform independent

Why the Java is called platform independent? Discuss.

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