Parallel implementations - program for a pizza shop
Course:- Other Subject
Reference No.:- EM132112736

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Other Subject

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

Put your comment

Ask Question & Get Answers from Experts
Browse some more (Other Subject) Materials
Distinguish the factors that are most important in carrying out a successful health care organization's merger or acquisition. Defend at least two reasons why health care or
Winston Churchill once said that the best argument against democracy was a five minute conversation with the average voter.  Given the spectacle that was congress and the rece
Find examples of five different fallacies-in print material such as newspaper articles and advertisements. Please name the fallacy and explain why you think it is this parti
How do your characters reflect the social obligation of government to its citizens? How have your characters removed the chains of social convention and government imposition?
Health care is now highly consumer driven. How will the trends supported by American beliefs change or affect health care delivery today? Identify at least one trend and dis
Many Americans believe that they are overweight, by a few pounds to a few hundred pounds. Because of this, weight loss systems are big business. For this assignment, you are
Consider the three constitutional proposals: the Virginia Plan, the New Jersey Plan, and the Great Compromise, also known as the Connecticut Compromise. If you were a delega
Identify the following rocks using the Key provided. Place the names with the appropriate number. Basalt, Breccia, Chert, Conglomerate, Coquina, Diorite and Fossiliferous Lim