Creating a program for a pizza shop

Assignment Help JAVA Programming
Reference no: EM132103159 , 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 mayopt 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:- Parallel Implementations.rar

Reference no: EM132103159

Questions Cloud

The different role of networking-network operating system : HS1011 : Demonstrate a basic understanding of terminology of network communications technology, network operating systems and network applications .
Calculate the current value of each farmers bank unsecured : Calculate the current value of each Farmers Bank unsecured note - How much can he consume in late-September, 2018 if the capital market offers an interest rate
How many attendees per seminar are required to generate : What is the impact on net profit of increasing the market-ing expense per seminar to $350, which increases average attendance per seminar to 50?
Identify and analyse the attack with highest criticality : Identify and analyse the attack with highest criticality, and explain the countermeasures taken to address such attack.
Creating a program for a pizza shop : ITECH5403 – Comparative Programming Languages - creating a program for a pizza shop - however, as this is a comparative languages course, you will be creating
Identify and describe three types of computer storage system : Compare and contrast the varying filing systems (one-two slides), Identify and describe three types of computer storage systems (one slide),
Create a reference document demonstrating appropriate secure : Your company encourages its employees to interact with the corporate Facebook page as a way to promote brand awareness and customer engagement.
Demonstrate knowledge by writing a grant application : PUBH611 HEALTH PROMOTION - GRANTAPPLICATION - demonstrate knowledge by writing a grant application to extend an existing health promotion program
Develop an e-mail-type communication announcing new policy : You are a Principal Information Assurance and Security Analyst for a well-known music producing company in California.

Reviews

len2103159

9/3/2018 3:59:22 AM

Documentation and discussion of the comparative ease of implementation (design / implement / debug) in each programming language, including how robustness issues were addressed. 15 Spelling and grammar 5 Assignment mark total / 100 Contribution to unit m ark (out of 20%) %

len2103159

9/3/2018 3:59:09 AM

Implementation of the pizza shop program in the Java programming language. Areas of note include: - Object orientation mechanism / method calls, - Error handling - Standard Java libraries Discussion on implementation - Language features, issues and suitability 15 5 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 15 5

len2103159

9/3/2018 3:58:56 AM

Requirement Weight 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. 15 5 Implementation of the pizza shop program in the Python programming language. Areas of note include: - Python Standard library, - List mechanisms, Discussion on implementation: - Language features, issues and suitability 15 5

len2103159

9/3/2018 3:58:44 AM

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. Assignments willbe marked on the basis of fulfilment 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. The mark distribution for this assignment is explained on the next page.

len2103159

9/3/2018 3:58:36 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. 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 brieflydiscuss a mechanism or feature of another language which would have made development easier.

Write a Review

JAVA Programming Questions & Answers

  Mean and standard deviation write a program that reads a

mean and standard deviation. write a program that reads a set of floating-point data values from the input. when the

  Introduction to java

Show the Knowledge about the computer language "JAVA".

  Implement a vending machine simulator

Create a new multi-class Java program which implements a vending machine simulator which contains the functionality

  Two types of java exceptions

In this discussion, please provide at least two types of Java exceptions that can be thrown in a Java application.

  Modify your server to make it multithreaded your server

modify your server to make it multithreaded. your server should allow more than one client to connect and request

  Explain how operating systems and abstraction are related

Compare and contrast System Software and Application Software. Give an example of each. Abstraction is an important quality of an Operating System. Explain how Operating Systems and abstraction are related

  Write a java code to count number of capital letters in line

Write a java codenpseudo-code to count the number of capital letters in a line of text. How many comparisons does it do? What is the fewestnumber of increments it might do? What is the largest number?

  Fix the code

Create, Go to, Event list, Delete, and Quit. After the function of an option is done, the main menu is displayed again for the user to choose the next option

  Algorithm analysis with advanced data

algorithm analysis with advanced data structuresalchemy-mines of oreland yield unlimited amounts of silver but no gold.

  Write a java program which reads a text file

Write a Java program which reads a text file and writes the content into a new file. During the read-write process, convert all the upper case letters

  Describe clearly how bob can forge a signature

Describe clearly how Bob can forge a signature of Alice's with such m'. Justify your forgery with the knowledge you learned from this unit.

  Do you want to play the addition quiz

Generate two random single-digit integers - Prompt the student to answer "what is number1 + number2?"

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