Creating a program for a pizza shop

Assignment Help Other Subject
Reference no: EM132116942 , Length: 750 Words

Comparative Programming Languages Assignment - Parallel Implementations

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 wel l 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.

Attachment:- Assignment File.rar

Verified Expert

All the codes were compared and find the different features of the code like designing feature, implementation technique,ambiguity, robustness,suitability and various advantages & disadvantages are identified using the comparison table.C programming code is done using Dev cpp software.Java program is done using Eclipse IDE.lisp program is done and compiled using the GNU compiler.python code is done using pycharm tool.

Reference no: EM132116942

Questions Cloud

Describe the prevalence of stalking in a small midwest city : Identify and describe the one best method to collect information for the scenarios .Conduct a hot-spot analysis on 911 calls for domestic violence.
Why was the drying agent added : Why was the drying agent added until no further clumping was observed and some free flowing drying agent was visible in the solvent (dichloromethane)?
Communication and soft skills : Dr. Tannen points out that how people communicate is as important as the information content of their messages.
On what kind of web site does the information appear : Please write an essay on the article that you select and their discovery on nutrition information. Please include your resource on study and your analysis.
Creating a program for a pizza shop : ITECH5403 - Comparative Programming Languages Assignment - Parallel Implementations, Federation University, Australia. Creating a program for a pizza shop
What efforts could be made in order to deter these crimes : The possible reasoning the offender has for committing the crime. How the crime is structured (how victims, location, etc. are selected).
Discuss the types of evidence used to support relationship : Discuss the types of evidence used to support the relationship between sleeping prone and SIDS as well as limitations of the evidence.
Determine the mean and standard deviation for combined : (a) Determine the mean and standard deviation for the combined score (X + Y).
What is more effective at controlling police behavior : Discuss the ways in which the police must balance the need for public safety with the need to ensure the civil liberties of citizens.

Reviews

inf2116942

10/31/2018 3:55:10 AM

you will be creating the same application in the following programming languages: C,Python, Java and Lisp. U have to add the suitability and Robustness in documentation file as well in pyhton file of pizza shop i am providing the ss for that attached an screenshot for that rather then it asking me for more flavour when i press the 1 i can run c and Lisp file do the same thing in C python and LISP as well. WHEN I RUNNING THIS FILE IN DEV C++ IT IS SHOWING THE CUSTOMER NAME PHONE NUMBER AND ADDRESS AS I HAVE ENCLOSED THE SCREEN SHOT FOR THAT WOOOW !! For us, it is working fine and i attached the screenshot below. As I already mentioned " output varies according to the software version". for example if you are using the software with the different version you should use the default functions like return value for returning the string names. from our program all the values like name, number and address are considered as a string Thanks for providing the solution!!!

inf2116942

10/31/2018 3:40:51 AM

GETTING THE DESIRED OUTPUT I HAVE CHANGED THE CODE I HAVE CHECKED IN DIFFERENT VERSION IT HAPPEN IN SAME PYHTON FILE IT SHOULD BE BETTER THROUGH REMOTED DESKTOP CONNECTION FOR PYHTON I AM USING THE IDLE (PYHTON 3.7) FOR DEV CPP I AM USING THE 5.11 THE LATEST VERSION I GET THE LISP ITS BETTER TO SOLVE MY QUERY THROUGH REMOTE DESKTOP IT WILL BE BETTER FOR ME.

len2116942

9/19/2018 2:23:08 AM

Please carefully read the criteria of this assignment. Prepare as per the criteria of assignment. 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: Use JAVA.

len2116942

9/19/2018 2:21:07 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. 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.

len2116942

9/19/2018 2:21:01 AM

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.

len2116942

9/19/2018 2:20:54 AM

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

len2116942

9/19/2018 2:20:47 AM

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. 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 4pm.

len2116942

9/19/2018 2:20:42 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 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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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