Parallel implementations - program for a pizza shop

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

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 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 maychoose up to a maximum of four additional toppings (bringing the total to five) from the followinglist, 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:- Parallel Implementations.rar

Reference no: EM132112736

Questions Cloud

Write your first standalone python script : Your script will utilize the following string definition. testString = "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG" .
The element just before the element in plist whose index : Python:Assume that a variable named plist has been defined and is associated with a list that consists of 12 elements.
Create a deck of cards : Create a deck of cards. A card is a tuple containing a number between 1 and 13 representing the cards value and a string contianing "clubs".
Calculate a customers monthly water bill : The program should calculate and display the number of gallons of water used and the total charge for the water.
Parallel implementations - program for a pizza shop : Parallel Implementations - program for a pizza shop - creating the same application in the given programming languages
Write a statement that associates a new value : Write a statement that associates a new value with the first element of the list. The new value should be equal to twice the value of the last element.
Create a dictionary entry with the number : Write a program, dCount(lst,n), which will take a 2-dimensional list which consists of a number (lst[i][0]) and string (lst[i][1]).
Write a testprogram that creates two rectangle objects : Write a testprogram that creates two Rectangle objects-one with width 4 and height 40 and the other with width 3.5 and height 35.7 .
Write a program that uses all of your functions : Write a program that uses all of your functions from above to carry out an RSA key generation, encryption, and decryption.

Reviews

Write a Review

Other Subject Questions & Answers

  Discuss the underlying purpose of the law

Locate a healthcare law issued by the Ministry of Health or another governmental agency in the Kingdom of Saudi Arabia. Create a PowerPoint presentation.

  Which independent variable contributes the most to sales

Determine what independent variables have an influence on dependent variables, such as sales.-Determine which independent variable contributes the most to sales; it could be quality or customer service or location.

  Online learning system

What are the most important information you have learned this week about how to use the university online learning system that will ensure that you become an effective and efficient University of Phoenix student.

  What does the new majority status for hispanics truly mean

How does this narrative fit into Freire's discussion on the fear of the oppressor losing dominance over the oppressed?

  Extrinsic values to improve decision making

Compare and contrast intrinsic and instrumental values. Provide at least two examples how each is crucial to good ethical reasoning. Recommend ways to use intrinsic and extrinsic values to improve decision making.

  Explain how edm could be used in your ais class

Explain how EDM (Electronic Document Management) could be used in your AIS class to eliminate all paper flow between the students and professor

  Exploring public percept. and news media

Write up an informational feature story/article about the innovation, using your best journalistic writing skills. 1. 2-3 pages for the news article, including a minimum of 3 sources outside resources, and an additional page for your field notes (..

  Define the impact baseball had on race in society

What lessons can we apply today from the impact baseball had on race in society in the 60s and 70s? Discuss two specific examples from the reading

  Are you in accord with the courts determination

Are you in accord with the Court's determination? Why do homosexuals continue to argue for mainstream religious acceptance?

  Has this product ever been under an embargo

Research one item that is internationally traded and outline how this product flows from one country to the next.

  Create fundraising development strategy

In this assignment you will create a one, three, and five year Fundraising Development Strategy for your organization. You can choose to be an administrator.

  Write a page paper about the essential attributes

Write a 2-3 page paper about the essential attributes you think it takes to demonstrate leadership.How does one acquire those attributes?

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