Create a program for a pizza shop

Assignment Help Other Subject
Reference no: EM132320667

Comparative Programming Languages 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 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.

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:- Assignment File.rar

Verified Expert

Pizza shop application implemented in LISP programming language which read number of pizza to order , type of pizza and pizza topping then this application calculate the payment of each pizza and print the order details with total payment of pizzas. The report file is discussed about the features and disadvantages of LISP language and output screen shot of the program is attached in solution.

Reference no: EM132320667

Questions Cloud

Do you use a mandated lesson plan : Do you use a mandated lesson plan? Do your in-class assessments (writing products, projects, tests, etc.), meet or exceed the rigor or the interim assessments.
Bottlenecks in a variety of applications : How can the TOC Theory of Constraints be applied to reduce bottlenecks in a variety of applications?
Advantages and disadvantages of a green supply chain : What are some examples of the "greening" requirements that an organization may impose on their supply chain members
Analyze the poem in terms of poetic devices : First reactions. The first time you read through a poem, record any "gut reactions" you have to the poem: any emotional connections you have.
Create a program for a pizza shop : ITECH5403 Comparative Programming Languages Assignment- Parallel Implementation, Federation University, Australia. Create a program for a pizza shop
Control devices based on the following discount schedule : Best Buy purchase control devices based on the following discount schedule. The expected annual demand is 50,000 units, ordering cost is $25 per order
Identify a set of netiquette rules : As virtual teams commonly rely on email for their communications, identify a set of "netiquette rules" for communicating by email.
Key functional managers in all organizations : Are supply chain management decisions becoming increasingly important for key functional managers in all organizations? Why or why not, please explain.
How can we use the lean concept in our daily lives : How can we use the lean concept in our daily lives and in the workplace?

Reviews

len2320667

6/12/2019 2:48:05 AM

Submission and Marking Process - You must supply your program source code files and language suitability report documentation in as single compressed archive called: ITECH5403_Assignment_2_YOUR-NAME_YOUR-STUDENT-ID.zip. 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.

len2320667

6/12/2019 2:47:59 AM

Submit your assignment (all program source files plus your discussion document) to the Assignment 2 Upload location on Moodle before the deadline of Friday of Week 11 at 4 pm. The mark distribution for this assignment is explained on the next page. Marking Criteria/Rubric - Implementation of the pizza shop program in the C programming language. Areas of note include: - Use of data structures and 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: Language features, issues and suitability.

len2320667

6/12/2019 2:47:53 AM

Implementation of the pizza shop program in the Python programming language. Areas of note include: Python Standard library and List mechanisms. Discussion on implementation: Language features, issues and suitability. Implementation of the pizza shop program in the Java programming language. Areas of note include: Object orientation mechanism/method calls, Error handling and Standard Java libraries. Discussion on implementation - Language features, issues and suitability. Implementation of the pizza shop program in the Lisp programming language. Areas of note include the Lisp: Use of recursion, Lists and Inbuilt data structures. Discussion on implementation - Language features, issues and suitability, Documentation and discussion of the comparative ease of implementation (design/implement/ debug) in each programming language, including how robustness issues were addressed.

Write a Review

Other Subject Questions & Answers

  Segregated cultural space prompt

Segregated Cultural Space Prompt: Think about your hometown. Did/do you see evidence of segregated cultural space? If yes, give examples.

  Calculate the expected frequencies

Test hypotheses that returns per day are Poisson distributed with a population mean equal to 1.9. Her significance level is 0.05

  Post retirement you worked as a manager in the us

You were assigned to the U.S. Embassy in Mexico City and served as a law enforcement liaison with the Mexican federal drug trafficking investigation division.

  Why did you select the given foundation

In the GCU library, locate four empirical studies you have not used before on a topic you are interested in researching (Use the Empirical Research Checklist).

  Human resource systems-career development programs

What techniques can organizations use to ensure that their strategic direction and business plans are reflected in their human resource systems and career development programs?

  What is known and unknown about your particular issue

Which sociological theories and terminology from the text apply to your social issue? Discuss what is known and unknown about your particular issue.

  Write a paper about united state of america

Write a short paragraph describing your topic-UNITED STATES OF AMERICA'S ROLE AND POSITION ON MOVING ISRAEL'S CAPITAL

  Discuss principles that characterize a empowerment approach

Discuss the principles that characterize an empowerment approach to human service management. Evaluate how you might apply these principles to the developmental processes of your own Ideal human service organization.

  Swot analysis for nutraceuticals and supplements market

Make a SWOT Analysis for nutraceuticals and supplements market. Internal environmental analysis for the company that produces health and life products

  Distinction between contract and tort

When Allen failed to act on the Estelleâ??s complaints, they filed a suit in an Indiana State court against Allen Construction and Allen personally, alleging in part that his individual work on the project was negligent. Can both Allen and his cor..

  Identify five causes of distress in the workplace

Please list fiveessentialfoods along with their foodgroup you would consider vital to a healthy diet and explain Why this is! Please describe five reasons why exercise and an active lifestyle will help promote vitality and longevity in one's health ..

  There are some bad apples in every barrel

find the subject and predicate term for these statements. A) no one can drop out of school when they're thirteen B) There are some bad apples in every barrel

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