Creating a program for a pizza shop

Assignment Help Other Subject
Reference no: EM132117815

Comparative Programming Languages Assignment - Parallel Implementations

This assignment will test your skills in programming applications to specification in a number of different programming languages.

Assignment Overview -

You are tasked with creating 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.

Program Specification -

Users may order one or more pizzas, where each pizza may be either: small, medium or large.

Small pizzas cost $5, medium pizzas cost $8 and large pizzas cost $12.

All pizzas come on a tomato base (for our pizza shop, this will be the only option), and will have the topping cheese by default, at no extra cost. Users may choose up to a maximum of four additional toppings (bringing the total to five) from the following list, where each topping adds an additional $1 to the price of the pizza:

  • Bacon,
  • Olives,
  • Ham,
  • Mushrooms,
  • Pineapple,
  • Salami,
  • Anchovies.

A pizza order consists of an order for one or more pizzas, where each pizza has a size, and may optionally include a list of up to four additional toppings.

Each pizza order must be marked as either to be collected or to be delivered.

If the pizza is to be collected then the order requires a name and a phone number to be valid.

If the pizza is to be delivered then a name, phone number and address are required to be valid. In addition, if the order total is less than $30 then an $8 delivery fee is added to the total.

The application must be error tolerant and capable of accepting keyboard input to store a number of pizza orders in memory (they do not have to be persisted to file), as well as displaying an order summary which include details of all orders, including:

  • The details of each pizza in the order,
  • The total cost of the order, and
  • The name, phone number and (if required) address of the person who made the order.

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

The task of the assignment is to develop the pizza ordering system. The application is developed in 4 languages namely the c, python, java and lisp. The application documentation is designed comparing the advantage and disadvantagesof different programming language. The output of the code is attached for each languages.

Reference no: EM132117815

Questions Cloud

What will happen to the demand for hamburgers : Consider the demand for hamburgers. If the price of a substitute good (for example, hot dogs) increases and the price of a complement good.
Think about the stakeholders associated with the corporation : Think about the stakeholders associated with the corporation and how they benefit if the organization displays social responsibility.
How will that affect demand for the product in the present : We know that a change in the price of a product causes a movement along the demand curve. Suppose consumers believe that prices will be rising in the future.
How do you solve this stats problem : We are told that mean weight is 6.39 kg and the Stand Deviation is 0.12. How do you solve this stats problem.
Creating a program for a pizza shop : ITECH5403 Assignment - Parallel Implementations, Federation University, Australia. You are tasked with creating a program for a pizza shop
What should reduction in the soda tax do to supply of sodas : Suppose there is soda tax to curb obesity. What should a reduction in the soda tax do to the supply of sodas and to the equilibrium price and quantity?
Infer about age and likelihood of having twins : What can you infer about age and likelihood of having twins? When a set of twins is born, what is the probability that the mother is in her twenties?
Analyzing the impact of the advent of the ipod : Use the four-step process to analyze the impact of the advent of the iPod (or other portable digital music players) on the equilibrium price and quantity.
Describes how you would lead the organization : Discussion of the foundational theories upon which you would draw to lead this organization - discussion of how you would assess the effectiveness

Reviews

inf2117815

11/26/2018 2:48:20 AM

In report please compare ease of implementation in all languages, and how robustness issues were adressed Please add the data structure This solution is exactly what I needed !!! It was done very professionally and seems to have lots of research work involved. Thank you very much.

len2117815

9/20/2018 3:58:24 AM

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. Submission and Marking Process - You must supply your program source code files and language suitability report documentation in as single compressed archive called: _Assignment_2_YOUR-NAME_YOUR-STUDENT-ID.zip. Submit your assignment (all program source files plus your discussion document) to the Assignment 2 Upload location on Moodle before the deadline of Friday The mark distribution for this assignment is explained on the next page.

len2117815

9/20/2018 3:58:15 AM

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 fulfilment 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.

len2117815

9/20/2018 3:58:09 AM

Implementation of the pizza shop program in the C programming language. Areas of note include: Use of data structures, 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. Implementation of the pizza shop program in the Python programming language. Areas of note include: Python Standard library, List mechanisms, Discussion on implementation: Language features, issues and suitability.

len2117815

9/20/2018 3:58:01 AM

Implementation of the pizza shop program in the Java programming language. Areas of note include: Object orientation mechanism / method calls, Error handling, 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, 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

  Audience most likely to remember from informative presention

Which of the following is an audience most likely to remember from an informative presentation?

  Description of an aptitude or interest assessment

Select and give a brief description of an aptitude or interest assessment. Then explain how the test reviews of the aptitude or interest assessment compare to the general assessment standards

  Behavior management services division objectives

Principal Kelly has suggested two objectives (one outcome and one process objective) for each of the proposed interventions: Behavior Management Services Division Objectives

  Discuss the primary purpose of quantitative research study

describe three conclusions you have drawn from the findings in this study, taking into consideration the limitations of the study

  Efficient policies are likely to be equitable

Do you think that, in general, efficient policies are likely to be equitable, and vice versa?"

  What do you believe is the logic behind warhols repetition

What do you believe is the logic behind Warhol's repetition of the image? How does his theme relate to the mass media outlets used to distribute the image of Marilyn Monroe? Justify your response

  How is music used in the given movie

How is music used in the movie? Does it contribute to the mood, atmosphere, plot, and/or characterization? How does religion function in the plot? What religious ceremonies occur in the movie?

  Scriptural hermeneutics

Explain what is meant by Scriptural Hermeneutics, and the significance of Ricoeur’s thought. Assess why these methods came about and are used by modern readers.

  Heavens gate cult-computer hacker community have in common

What did the Heaven’s Gate cult and the computer hacker community have in common?

  Discuss a basic marketing plan to bring your new product

the purpose of the discussion board is to allow students to learn through sharing ideas and experiences as they relate

  Who is responsible for the content frames for updates

Definition of which platform or platforms are to be used. The types of content to be used on each. Who is responsible for the content and time frames for updates?

  Do you agree with thomas paine that government is necessary

"Society in every state is a blessing, but government even in its best state is but a necessary evil; in its worst state an intolerable one; for when we suffer, or are exposed to the same miseries by a government, Do you agree with Thomas Paine th..

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