Kent Institute Australia Pty. Ltd. Assessment Brief XXXXXXXXXXABN XXXXXXXXXXCRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 XXXXXXXXXXTEQSA Provider Number: PRV12051 ASSESSMENT BRIEF...

1 answer below »
Just need to do 2.2 & 2.3 not the whole assignment


Kent Institute Australia Pty. Ltd. Assessment Brief ABN 49 003 577 302 CRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 TEQSA Provider Number: PRV12051 ASSESSMENT BRIEF COURSE: Bachelor of Information Technology Unit: Object Oriented Design and Programming Unit Code: OODP101 Type of Assessment: Assessment 4 – Solution to programming problem by group of 3-4 students Length/Duration: 20 Hours Unit Learning Outcomes addressed: Upon successful completion of this unit students should be able to: 1. Demonstrate basic knowledge of object-oriented programming concepts and programming problems 2. Analyse and dissect simple design and programming problem 3. Implement a well-designed modularized solution to small programming problems 4. Develop and/or implement testing schedules Submission Date: Week 11 Assessment Task: A group of 3-4 students will work together to provide a quality solution to programming problem using JAVA programming language, Total Mark: 40 marks Weighting: Converted to 30% of the unit total marks Students are advised that submission of an Assessment Task past the due date without a formally signed approved Assignment Extension Form (Kent Website MyKent Student Link> FORM – Assignment Extension Application Form – Student Login Required) or previously approved application for other extenuating circumstances impacting course of study, incurs a 5% penalty per calendar day, calculated by deduction from the total mark. For example. An Assessment Task marked out of 40 will incur a 2 mark penalty for each calendar day. More information, please refer to (Kent Website MyKent Student Link> POLICY – Assessment Policy & Procedures – Student Login Required) https://kentinstituteaustralia.sharepoint.com/sites/Policies%26Forms/SitePages/Home.aspx?RootFolder=%2Fsites%2FPolicies%26Forms%2FPolicies%20and%20Forms%2FStudent&FolderCTID=0x012000E6C01ECDB12ACE448B94EB84A9F93758&View=%7B148054E0%2D0936%2D4517%2D8B3E%2DD0CCDC7CD88F%7D https://kentinstituteaustralia.sharepoint.com/sites/Policies%26Forms/SitePages/Home.aspx?RootFolder=%2Fsites%2FPolicies%26Forms%2FPolicies%20and%20Forms%2FStudent&FolderCTID=0x012000E6C01ECDB12ACE448B94EB84A9F93758&View=%7B148054E0%2D0936%2D4517%2D8B3E%2DD0CCDC7CD88F%7D Kent Institute Australia Pty. Ltd. Assessment Brief ABN 49 003 577 302 CRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 TEQSA Provider Number: PRV12051 ASSESSMENT DESCRIPTION: Your task will be to design and develop a programming solution to a problem using JAVA programming language. Background The system that you will create is a Restaurant Menu Management System (RMMS). The RMMS is a tool used by a restaurant that manages menu and for ordering meals. The menus may be used potentially at different venues and for different purposes like breakfast, lunch, dinner and take away. Menu has a unique ID, name and is associated with a particular venue and session time. For each Restaurant menu, there are a number of available meals (menu items) available for ordering by guests. This IT system, RMMS, will enable the manager to customise and save menus to the system as well as view the stored list of menus. It will be possible to inspect details for each menu. The details will include specifics of the menu as well as specific details regarding discounts that may apply to certain meals. It will also be possible to categorise particular meals on each menu. The menu item categorisation will determine the way that prices are calculated for display on the menu. Each menu item will have a number, name, description and basic price associated with it, when the price for display on the menu is calculated, this calculation may involve increasing the price with surcharges (e.g. some special meals might have a surcharge due to the difficulty in sourcing their ingredients locally); or decreasing the price due to a special discount. There can be a number of possible types of menu items incorporated into your system. Example menu item types are as follows: 1. A standard menu item will have the price calculated based exactly on the price entered into the system. 2. A premium menu item can be created with a mechanism to indicate that it is to have a surcharge added to the price. The surcharge will increase the price of the meal based on a constant percentage mark up value specified by the manager; 3. It is possible to create a discount menu item meal to apply a discount to the given price; 4. Drinks menu item whose price will not have any surcharge and discounts. Customer can order menu items from any one menu at one time. The RMMS will give discount to customers according to their status. When customer place order, system will ask the status of customer and discounts will be given according to following information. 1. Active customers are the one who visits restaurant at least once a week and will get 5% discount on every order they made. 2. VIP customers are the one who have been visiting restaurant from more than one year and will get 10% discount on all orders. 3. New Customers will not get any discounts. Once an order is placed, RMMS will calculate the total of order and will issue invoice to customer. Requirement 1: Class Diagram This section expects you to create a class diagram after reading the coding requirements. Your class diagram should have proper relationships between classes, all possible attributes, constructors and methods that your class files will have. You need to use correct notation which is discussed in class. Requirement 2: Coding 2.1 Create Menu class which will have basic attributes as given in background information. a) This class has array of menu Items so you need to add proper methods to add the items into the array, remove the items and retrieve the item from the array. b) You need to write proper toString() method to display the details of menu and menu items in it. c) A default constructor which assigns each instance variable a default value. Kent Institute Australia Pty. Ltd. Assessment Brief ABN 49 003 577 302 CRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 TEQSA Provider Number: PRV12051 d) A constructor with parameters which assign values to each instance variable. Note that the values to initialise in the objects should be passed in using arguments when the constructor is called. e) Author get and set methods for your classes for instance variables where appropriate. 2.2 Create menu Item class which will have attributes mentioned in background information. As there are different types of menu Items to create sub classes to represent menu Items which are Standard, Premium, Discounted and Drinks. You must provide the following in each particular specialised menu type class. a. All MenuItems have (at least) the following attributes:
Answered Same DaySep 23, 2021OODP101

Answer To: Kent Institute Australia Pty. Ltd. Assessment Brief XXXXXXXXXXABN XXXXXXXXXXCRICOS Code: 00161E RTO...

Sayed Shad Ahmad answered on Sep 23 2021
147 Votes
Solution/Customer.java
Solution/Customer.java
//Class Customer
public class Customer 
{
    //Instance variables for Customer class 
    private String name;
    private double discount;
    private String status;

    //Default Constructor for Customer class
    public
 Customer() 
    {
        this.name = "unknown";
        this.status = "unknown";
    }
    //Parameterized Constructor for Customer class
    public Customer(String name, String status)
    {
        this.name = name;
        this.status = status;
    }
    //Getter method to get name of Customer
    public String getName() 
    {
        return name;
    }
    //Getter method to get discount of Customer
    public double getDiscount() 
    {
        return discount;
    }
    //Getter method to get status of Customer
    public String getStatus() 
    {
        return status;
    }
    //Setter method to set name of Customer
    public void setName(String name)
    {
        this.name = name;
    }
    //Setter method to set discount of Customer
    public void setDiscount() 
    {
        if(this.status.equalsIgnoreCase("Active"))
            this.discount = 5;
        else if(this.status.equalsIgnoreCase("VIP"))
            this.discount = 10;
        else
            this.discount = 0;
    }
    //Setter method to set status of Customer
    public void setStatus(String status)
    {
        this.status = status;
        this.setDiscount();
    }
    //Method to return a String containing data for Customer object
    @Override
    public String toString() 
    {
        return "Customer Name:\t" + name + "\nCustomer Status:\t" + status + "\nCustomer Discount:\t" + discount + " %";
    } 
}
Solution/Discounted.java
Solution/Discounted.java
//Class Discounted derived from base class MenuItem
public class Discounted extends MenuItem 
{
    //Instance variable for Discounted class 
    private double discount_rate;
    //Default Constructor for Discounted class
    public Discounted()
    {
        super();
        this.discount_rate = 0;
    }
    //Parameterized Constructor for Discounted class
    public Discounted(int itemNumber, String itemName, String description, double itemPrice, double discount_rate) 
    {
        super(itemNumber, itemName, description, itemPrice);
        this.discount_rate = discount_rate;
    }
    //Getter method to get discount rate for Discounted menu item
    public double getdiscount_rate() 
    {
        return discount_rate;
    }
    //Setter method to set discount rate for Discounted menu item
    public void setdiscount_rate(double discount_rate) 
    {
        this.discount_rate = discount_rate;
    }
    //Method to return a String containing data for Discounted menu item object
    @Override
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here