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

  Define basic concepts used in the discipline of sociology

Define the first step of research in your own words. Identify the major assumptions and bias of the drug industry that underlie drug research. Identify the personal bias that you, as a consumer, have on the drug industry's influence over research.

  What is organizational culture

Assume you are the chief of police in a local police department and you want to shape the organization's culture. What is organizational culture

  Provide a brief overview of the rights contained

Provide a brief overview of the rights contained within the Bill of Rights' Fourth, Fifth, Sixth, and Eighth Amendments that apply to criminal defendants.

  Did you feel good critical thinking was used in any of your

This week's lecture focused on applying some of the intellectual standards discussed in previous weeks and applying them to the news media.

  Which of the following drugs is not a narcotic

Which of the following drugs is NOT a narcotic? While Nicholas was hypnotized, he was able to endure painful jaw surgery without any anesthesia. This could be taken as support for the view that hypnosis

  Personal and professional accountability

Identify one personal goal for your leadership growth and discuss your implementation plan to achieve that goal

  Describe the status of equality between men and women

Some people claim that women have finally achieved equality with men in the 21st century; others are not convinced. How will you describe the status of equality between men and women in contemporary Western culture

  Compare the democratic and republican party platforms

Compare the Democratic and Republican Party platforms/issue stances. What is their overall message?

  Define the skills approach in your own words

Define the skills approach in your own words, Briefly analyze your assessment results

  Examine the philosophical underpinnings of the economic sys

examine the philosophical underpinnings of the economic system and its relationship to ethics and social justice by examining income support policies. You will also view the socially constructed ways of developing and distributing resources and im..

  Thoughts about german and korean unification

Pick one or two of your most important thoughts about German and Korean unification and apply them to the situation in South Korea. Do this in three to five pages and hand it in by the end of this module.

  Highest degree of risk for psychological dependence

The electroencephelagraph is used in sleep research to measure brain-wave activity in the. Which of the folowing drugs has the HIGHEST degree of risk for psychological dependence?

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