Create a program for a pizza shop

Assignment Help Computer Engineering
Reference no: EM132309020

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 which 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 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 complementary garlic bread for 100 AUD]
4. 1 large pasta = 8 AUD
5. 2 large pastas = 15 AUD
6. M large pastas = M*7 AUD, where M>=3, and the customer will receive 1.25 Liter soft drinks for every 3 pastas [For example, if a customer is interested to buy 6 large pastas, Sab will provide 2 complementary 1.25 liter soft drinks for 42 AUD]
7. For every 3 pizzas AND 3 pastas, 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:

- total payment amounts received for pizza order
- total payment amounts received for pasta order
- total amount of pizzas and pastas 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.

Suggested Development Environments

Codeblocks for C '99

To create a new C project is: When you create a project, choose File | New and then Console Application, and then choose C as the programming language.

IDLE for Python:

Python, including the IDLE development environment, can be downloaded

Eclipse for Java 7 or Java 8

Eclipse does not come with the Java JDK, which must the downloaded separately

Ensure that your Eclipse type and Java type match - i.e. 32-bit Java for 32-bit Eclipse, or 64-bit Java for 64-bit Eclipse. If you mix and match it won't work.

GNU CLisp for Common Lisp

Additional Documentation - Language Suitability Report

The design of each programming language incorporates a number of decisions about the language which make it more or less suitable for given tasks. During your implementation of the pizza program in each of the languages, you should make notes about the language features which exist or do not exist, and which have therefore made program development easier or more difficult.

Where a language has not provided a feature which would have been useful to the implementation of the program, or where the complexity of using a language feature has been high you should remark upon it and briefly discuss a mechanism or feature of another language which would have made development easier.

After completing the application in all languages (or as many as you can), discuss the comparative ease of implementation in terms of the design, implementation and debugging for each programming language, including how robustness issues were addressed.

Attachment:- Parallel Implementation.rar

Verified Expert

The solution file is implemented pizza shopping Billing Details in java, c, python and lisp languages and program will read number of pizza and pasta,then it will calculate and print the order details with total payment of each.The report of this solution discussed all four languages of features and disadvantage.The references are included as per APA format.

Reference no: EM132309020

Questions Cloud

Determine consumer behavior toward your product : Determine consumer behavior toward your product as compared to their current behavior towards your competitor's product. Discuss how product fits your lifestyle
Who is the intended audience of an information technology : Audience - Who is the intended audience of an Information Technology's student e-portfolio?
How do markets get information about the firm : 7211AFE Corporate Finance,Griffith University, Australia: Is this a company where there is a separation between management and ownership?
Purpose of an information technology student e-portfolio : What is the purpose of an Information Technology's student e-Portfolio as you perceive it? How or where might you use it beyond the class?
Create a program for a pizza shop : ITECH5403 - Comparative Programming Languages - Federation University - Assignment Parallel Implementation - Create a program for a pizza shop
Evaluating the effectiveness of the treatment interventions : Evaluate the effectiveness of the treatment interventions implemented by Dr. Heston, supporting your statements with information from the case and two to three.
Common myth associated with managed care : Choose a common myth associated with managed care. You may use one of the myths discussed in this week's reading assignment, or come up with one on your own.
Determine the volume of rock to be blasted : ENGIN3502 Subsurface Environmental Engineering Assignment - Projects, Federation University, Australia. Determine the Volume of rock to be blasted
Condition of work for the hospitality industry : Please research and identify, which is the industrial award which regulates the hours and the condition of work for the hospitality industry?

Reviews

len2309020

5/20/2019 10:02:31 PM

Implementation of the pizza shop program in the Lisp programming language. Areas of note include the Lisp: o Use of recursion o Lists o Inbuilt data structures 15 Discussion on implementation o Language features, issues and suitability 5 Documentation and discussion of the comparative ease of implementation (design/implement/ debug) in each programming language, including how robustness issues were addressed. 15 Spelling and grammar 5 Total /100 Contribution to unit mark (out of 20%) %

len2309020

5/20/2019 10:02:22 PM

Implementation of the pizza shop program in the Python programming language. Areas of note include: 15 o Python Standard library o List mechanisms Discussion on implementation: 5 o Language features, issues and suitability Implementation of the pizza shop program in the Java programming language. Areas of note include: o Object orientation mechanism/method calls o Error handling o Standard Java libraries 15 Discussion on implementation o Language features, issues and suitability 5

len2309020

5/20/2019 10:02:12 PM

Requirement Available Marks Implementation of the pizza shop program in the C programming language. Areas of note include: - o Use of data structures o Robust input handling which does not cause program termination if provided with bad data (i.e. program expects a number, gets given alphanumerical data). Discussion on implementation: o Language features, issues and suitability. 15 5

len2309020

5/20/2019 10:02:06 PM

You may supply your programming language suitability report in either Word or LibreOffice/OpenOffice format in which the document can be edited – no proprietary Mac-specific formats, please. Assignments will be marked on the basis of fulfillment of the requirements and the quality of the work. In addition to the marking criteria, marks may be deducted for failure to comply with the assignment requirements, including (but not limited to): ? Incomplete implementation(s), and ? Incomplete submissions (e.g. missing files), and ? Poor spelling and grammar.

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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