Create a program for a pizza shop

Assignment Help C/C++ Programming
Reference no: EM132529969

ITECH5403 Comparative Programming Languages - Federation University

Assignment: Parallel Implementation

Overview - This assignment will test your skills in programming applications to specification in a number of different programming languages and is worth 20% of your non-invigilated (type A) marks for this course. Completion of this assignment requires the:

- Understanding of various programming languages' features.

- Understanding of Implementing a program in multiple languages.

Assignment Overview - You are asked to create a program for a pizza shop - however, as this is a comparative languages course, you will be creating the same application in the following programming languages: C, Python, Java and Lisp.

As you implement the application in each language, you should keep notes on the features of the languages used, which you found useful, as well as any issues or complications which arose due to the complexity or lack of any language features.

A brief discussion based on these programming features for each individual language accompanying each implementation is required. Finally, a comparative overview of the languages highlighting applicability based on your experience in the design, implementation, and debugging of your code is also required.

If you foresee or encounter any complications, you may opt to implement or incorporate additional language features that may be lacking, i.e. data structures. This can be done via:

Your own implementation,

Through libraries, or

Via the incorporation of existing source code. You can use code found on the Internet, but the use of any existing code must be referenced.

Assessment Details - Sab, the owner of a new Pizza and Pasta shop, is opening a takeaway service for selling delicious Pizza and Pasta to the customers. She wants to offer some packages to interested customers to promote her business. To do so she is offering the following packages:

1. 1 large Pizza = 12 AUD

2. 2 large Pizzas = 22 AUD

3. N large pizzas = N*10 AUD, where N>=3, and the customer will receive 1 garlic bread for every three pizzas [For example, if a customer is interested to buy 10 large pizzas, Sab will provide 3 complimentary garlic bread for 100 AUD]

4. 1 large pasta = 8 AUD

5. 2 large pastas = 15 AUD

6. M large pasta = M*7 AUD, where M>=3, and the customer will receive 1.25 Liter soft drinks for every 3 pasta [For example, if a customer is interested to buy 6 large pasta, Sab will provide 2 complimentary 1.25-liter soft drinks for 42 AUD]

7. For every 3 pizzas AND 3 pasta, Sab will give a small box of Baklava (a famous dessert item) in addition to garlic-bread and 1.5-liter soft drinks.

You have agreed to design and develop a small console program for Sab, enabling her to select the appropriate item and the package, and calculate the corresponding cost. Once an order is processed, the program will return to the menu ready to commence another order. This payment information should display:

- the total payment amounts received for the pizza order

- the total payment amounts received for pasta order

- the total amount of pizzas and pasta sold in that session*

*A session indicates the duration Sab is using the program after opening the program. There is no need for this data to persist once the program has stopped running.

The owner wants the system to be flexible so that she can include additional items and packages at a later date without having to rewrite the entire program. This means you will need to use an interface for processing payments, and polymorphism for the various food items classes, so that new and different packages may be added at a later date with minimal updates to the code. She asked that you provide her with some documentation before you commence coding, so that she is able to verify that the program you intend to code will address her requirements. She would like to see the use cases to summarize the requirements in written format, as well as use case diagrams, class diagrams and sequence diagrams.

Note - Need only lisp code.

Attachment:- Comparative Programming Languages Assignment File.rar

Reference no: EM132529969

Questions Cloud

Recently undergone serious cybersecurity breach : An organization has recently undergone a serious Cybersecurity breach where millions of customer's record were leaked / stolen.
Programming languages features : Test your skills in programming applications to specification in a number of different programming languages - implement or incorporate additional language
What amount should Sol credit to share premium : On May 31, 2008, Sol Company's board of directors declared a 10% stock dividend. What amount should Sol credit to share premium for this stock dividend
Prepare a corrected income statement for the quarter : Prepare a corrected income statement for the quarter. Your statement should show in detail how the cost of goods sold is computed.
Create a program for a pizza shop : Implementing a program in multiple languages - implement or incorporate additional language features that may be lacking, i.e. data structures.
Server virtualization and cloud computing : Describe the organization's environment, and evaluate its preparedness for virtualization. Explain Microsoft licensing for virtualized environments
High-rate wireless personal area network : A high-rate wireless personal area network (WPANs) is a wireless technology that provides connectivity for multimedia devices operating.
Types of team interactions with environment : Define Team boundaries from your text book. List and define the five types of team interactions with the environment.
Emerging threats and countermeasures : A threat is an event which has the potential to adversely affect assets. Write a paper in which you discuss information security issues faced by organizations

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Program which asks the user for due date of next assignment

Write a program which asks the user for due date of the next assignment (hours, minutes). Then print number of minutes between the current time and the due date in format.

  Implement a program to find the position of a cannonball

Write a C++ program that calculates the position of a cannonball that is fired straight up in the air - Implement a program to find the position of a cannonball

  What can you say about the lift force on the airfoil

What would be one major and obviously visible change to the velocity and pressure coefficient curves if you were to redo this problem with the airfoil at a non-zero angle of attack?

  Write a program that will read in 12 integer values

Write a program that will read in 12 integer values into a 3 times 4 two-dimensional array (i.e., an array of 3 arrays of 4 integers).

  Create a simple text editor that has one large rich text box

Complete the following programming exercise (SIMPLE TEXT EDITOR WITH ONE LARGE RICH TEXT BOX). You will use the OpenFileDialog, StreamReader and StreamWriter objects; the Close, Peek, ReadLine, ShowDialog and WriteLine methods.

  Calculate monthly payment and amortization schedule for loan

Write a C program that calculates the monthly payment and amortization schedule for the loan. The program should prompt the user to enter the loan amount, the annual interest rate, and the number of years the loan will run.

  Demonstrate the usage of objects of point class by a client

CS 170 - High-level Programming - implement a Point class to represent points in a two-dimensional Cartesian coordinate system. To help you understand

  Write some code that will create a stream named filein

Write some code that will create a stream named fileIn that is a member of the class Scanner. It should connect the stream to a text file named sally.

  Reportingmark a string of 2 to 4 upper case

Declare a structure named: Car containing: reportingMark a string of 2 to 4 upper case characters carNumber an int kind could be box tank flat or other loaded a bool destination a string with a destination or the word NONE Note: A destination is r..

  Make 2-dimensional array

make 2-dimensional array a bit of life and bringing them from the abstract to the concrete realms

  Write a program that will input letters grade(a,b,c,d,f)

Write a program that will input letters grade(A,B,C,D,F), the number of which is input by the user (a maximum of 50 grades). The grades will be read into array. A function will be called five times(once for each letter grade) and will return the tota..

  Implement a craps game according to the rules

CptS 121 - Program Design and Development - Write a program that implements a craps game according to the above rules. The game should allow for wagering. This means that you need to prompt that user for an initial bank balance from which wagers wi..

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