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

  How much money do you spend on groceries each week

You are designing a web page for your school's biology club. You want to include photos of the members on the page, which has a width of 640 pixels. You've decided that the left and right margins should be 24 pixels each and the space between each..

  Define each of the three arguments for god existence

Name and describe each of the three arguments for god's existence. For each of the three arguments for god's existence, name at least one problem.

  Locate an article regarding criminal entrapment

After reading the article and briefly summarizing the purpose for the study, address the following questions: What the main point of the article?

  Fedex and diversity

Discuss different approaches to productivity, problem-solving and so forth including communication barriers and challenges that diversity will present to the organization.

  What ongoing training needs to be implemented

What ongoing training needs to be implemented and why. What training documentation should be kept and why

  Identify the roles the team members are playing in the group

You are transitioning to a new management role within the company. Identify the roles the team members are playing in the group

  Client response to cognitive restructuring therapy

Do you believe a state of learned helplessness will affect client response to cognitive restructuring therapy? Why or why not? If so, what could be done to address this?

  Explain how health care leaders can integrate strategic

Explain how health care leaders can integrate strategic thinking and situational analysis into a strategic plan for a health care organization.

  Powerful economic and political positions across the globe

How would a functionalist, conflict theorist, symbolic interactionist, and feminist answer the following question: Why do men hold the most powerful economic and political positions across the globe?

  Develop an organizational budget plan

Develop an organizational budget plan utilizing your choice of budget reports.Your tasks are to decide where costs should be cut, rationalize your decisions.

  What types of injury of public health concern are associated

What types of injury of public health concern are associated with exposure to each of the different forms of radiation?

  Compare the topics-education and politics

Continue with the same TWO Spanish-speaking countries you used in week 4. Spain & Mexico. Compare and contrast ONE of the following topics.

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