Illustrate and relate object-oriented concepts

Assignment Help JAVA Programming
Reference no: EM132888629

Software Development Fundamentals

Learning Outcome 1 : Demonstrate a structured approach to algorithmic design and problem solving and exhibit professional development best practices in designing and developing robust, maintainable software;

Learning Outcome 2 : Illustrate and relate object-oriented concepts (encapsulation, inheritance, polymorphism) and employ them to solve practical, real-world problems;

Learning Outcome 3: Differentiate, select and utilise suitable application programming interfaces in the construction of software;

Learning Outcome 4: Discriminate between elements of object-oriented programming (abstract and nested classes, interfaces, access modifiers, etc.) and employ them appropriately in programme construction;

Assignment Detail

You have been asked to develop a JAVA application to demonstrate a "Vending Machine Application"
as a prototype (See picture of a typical Vending Machine at the end of the document) The Vending machine must include the following entities:
• Chocolate Bars (Various types, such as KitKat, Mars, etc.)

• Crisps (For example, Tayto, Walkers, etc.)

• Soft Drinks (For example, Coke, Pepsi, etc.)

When the JAVA application is initialized, it must dynamically create as follows:

• At least 25 chocolates of 5 distinct types . There are three rows in the vending machine that are reserved for chocolates.

• At least 25 crisps of various types (they cannot all be the same type). There are three rows in the vending machine that are reserved for crisps.

• At least 25 soft drinks of different types. There are three rows in the vending machine that are reserved for soft drinks.

You can assign unique names to various categories of chocolates, crisps and drinks. You will load the stock before starting operation of the vending machine. As the user buys items, the list of stock will be updated accordingly. When any item in the vending machine reaches a level of 1, a message must be generated to the user that this item is the last item, the maximum stock for each item type is 5. Generate randomly 5 items of various types at the start of the vending machine. A menu with all prices for the available items should be displayed at the start of the application.

For example, the price of each item can be set as 1.20 Euro for chocolates, 1.50 Euros for crisps and
for each soft drink. Further, you can also adjust the prices based on your choice for various items and It will be clearly documented in the application.

If a user selects one item of any type (e.g., chocolate, crisp and coke), charge the prices as mentioned in the menu. However, if a user selects any type of two items simultaneously, give 10 percent discount on these items. For example (2 drinks, 2 chocolates, give a discount of 10%).

Display the screenshot where you can provide an input for various options and the output generated by the Vending machine application. Five different input values and output generated by the application should be provided in the report along with this application.

Once all the entities have been created, the system should assign the items for each slot of the vending machine. You can allocate a maximum of five items for each category in the machine as a full stock. As the user selects the items and paid for them, the updated list of items will be displayed in the next round. You can set an option for the administrator to display the total amount collected (this should

update if more items are sold). Briefly explain the validation of input values entered by the user in the report.

The user should be able to:

FUNCTIONALITY

• List available items along with prices in the vending machine

• List of all chosen items selected by the user along with their prices and total price

• List of discounts on the chosen items

• List of items that are out of stock

EXTRA CHALLENGE IDEAS

• An automatic message for the user that this item is not available

• Ask again for the proper input value in the case of wrong input

• List of items sold along with total amount collected

In order to perform these tasks, you should implement APPROPRIATE data structures.

Attachment:- Software Development Fundamentals.rar

Reference no: EM132888629

Questions Cloud

Impact instructional design endeavors and student learning : How might the addition of a "create" level in the cognitive process impact instructional design endeavors and student learning?
Analyze the effects of the general environment : Analyze the effects of the general environment, competition, threats, opportunities, strengths, and weaknesses relative to a corporation
International strategies of multinational enterprise : Analyze the international entry modes and international strategies of a multinational enterprise.
Discuss business current financial liquidity position : Use the appropriate formula to calculate working capital, then discuss the business's current financial liquidity position.
Illustrate and relate object-oriented concepts : Demonstrate a structured approach to algorithmic design and problem solving and exhibit professional development best practices in designing and developing
New equipment-to pay cash-rent-get a loan-or lease : EAGLE SOAR needs new, state of the art equipment. EAGLE SOAR has $65,000 in cas reserves and other assets available to make this purchase.
Evaluate the impacts that climate changes : Evaluate the impacts that climate changes are having on the growth of global populations and the security of their food sources
Legislation and policies changed in past decade : How have legislation and policies changed in the past decade? Challenges associated with the changing healthcare workforce.
Calculate the percentage core recovery : Explain the tensile slabbing mechanism in rock breakage with proper diagram and Calculate the percentage core recovery and Rock Quality Designation (RQD)

Reviews

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