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

  Which historical movements do you consider most important

Which historical movements, legal decisions, and legislative actions do you consider most important in forming the basis for special education services in the United States?

  Write a reading responses for david trend

Write a "Reading Responses," for David Trend's "But Can We Understand It? from The Myth of Media Violence. Your response is a 3-paged (minimum), typed (double-spaced) response to the assigned reading, according to the following format: Your Name & Da..

  Life and work of simone weil-martin luther king

What elements in the life and work of Simone Weil, Martin Luther King, Mother Teresa, and some of the characters portrayed in the movies Dr. Ambrosio mentions speak to you most effectively about the qualities of the secular saint?

  How are conflict theorists and functionalists alike

When it comes to wealth, power and prestige, how are Conflict Theorists and Functionalists alike? How do they differ? Once upon a time almost all products sold in America were labeled "Made in America." What caused companies to go "International" a..

  The six dimensions of wellness

The six dimensions of wellness

  Characteristics of a quality tangible product

How does one evaluate the characteristics of a quality tangible product? How important would reliability and dependability factor into your evaluation?

  Adopting the victims right amendment

Would adopting a victims right amendment to the U.S. constitution genuinely improve the plight of crime victims.

  Represents flows in macro-economy as closed system

In the textbook, there are two circular flow diagrams: One that represents the flows in the macro-economy as a closed system and one that represents the flows as an open system.

  Where are there breaches of ethical behavior

Choose an ethical issue to write about. You may choose from the list below or, with approval from the instructor, select a different socially-relevant topic.

  Demand-side and supply-side drug policies

Differences between demand-side and supply-side drug policies? Advantages and disadvantages of each?

  How are companies differentiating their loyalty programs

Argue for or against the proposition that loyalty programs are effective customer retention strategies. And how are companies differentiating their loyalty programs today compared to when loyalty programs were first introduced

  Advantages of being able to create dilutions

Dilutions are a common method used in the pharmacy. What are some advantages of being able to create dilutions?

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