Implement the application in each language

Assignment Help Programming Languages
Reference no: EM132333166

Comparative Programming Languages Assignment - Parallel Implementation

Overview - 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. Completion of this assignment requires the:

  • Understanding of various programming languages' features.
  • Understanding of Implementing a program in multiple languages.

Assignment Overview - You are asked to create 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.

Assessment Details -

Sab, the owner of a new Pizza and Pasta shop, is opening a takeaway service for selling delicious Pizza and Pasta to the customers. She wants to offer some packages to interested customers to promote her business. To do so she is offering the following packages:

1. 1 large Pizza = 12 AUD

2. 2 large Pizzas = 22 AUD

3. N large pizzas = N*10 AUD, where N>=3, and the customer will receive 1 garlic bread for every three pizzas [For example, if a customer is interested to buy 10 large pizzas, Sab will provide 3 complementary garlic bread for 100 AUD]

4. 1 large pasta = 8 AUD

5. 2 large pastas = 15 AUD

6. M large pastas = M*7 AUD, where M>=3, and the customer will receive 1.25 Liter soft drinks for every 3 pastas [For example, if a customer is interested to buy 6 large pastas, Sab will provide 2 complementary 1.25 liter soft drinks for 42 AUD]

7. For every 3 pizzas AND 3 pastas, Sab will give a small box of Baklava (a famous dessert item) in addition to garlic-bread and 1.5-liter soft drinks.

You have agreed to design and develop a small console program for Sab, enabling her to select the appropriate item and the package, and calculate the corresponding cost. Once an order is processed, the program will return to the menu ready to commence another order. This payment information should display:

  • total payment amounts received for pizza order
  • total payment amounts received for pasta order
  • total amount of pizzas and pastas sold in that session*

*A session indicates the duration Sab is using the program after opening the program. There is no need for this data to persist once the program has stopped running.

The owner wants the system to be flexible so that she can include additional items and packages at a later date without having to rewrite the entire program. This means you will need to use an interface for processing payments, and polymorphism for the various food items classes, so that new and different packages may be added at a later date with minimal updates to the code. She asked that you provide her with some documentation before you commence coding, so that she is able to verify that the program you intend to code will address her requirements. She would like to see the use cases to summarize the requirements in written format, as well as use case diagrams, class diagrams and sequence diagrams.

Additional Documentation - Language Suitability Report -

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 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.

Attachment:- Assignment File.rar

Verified Expert

This assignment is about the Parallel implementation of Programming Lanugage. In this assignment we create a programme for the PIZZA shop in five different programming languages as per the assigment requirements. PIZZA Shop is a programme in that create a programme about all pizza informations like types of pizza , price of pizza and bill generations etc. In this assignment we create the pizza programme in different five languages.

Reference no: EM132333166

Questions Cloud

How do you feel about e-mail monitoring practices : How do you feel about e-mail monitoring practices? Are there ethical concerns involved in such a decision? If so, what are they?
How provisions will impact your current practice of nursing : Identify the impact of this legislation on your nursing practice by choosing two key nursing provisions outlined in topic material "Nursing and Health Reform".
Antennas are just one of life great mysteries : To many users, antennas are just one of life's great mysteries. They know from experience that any antenna is better than having no antenna,
Describe puzzling phenomenon of any company : Describe puzzling phenomenon of any company, business or organization you know then talk about all relevant stakeholders.
Implement the application in each language : Design of each programming language incorporates a number of decisions about the language which make it more or less suitable for given tasks
Organizational context our perception affects : Some factors such as those shown below may get in the way of understanding the truth within the message; thus, affecting our behaviors:
Concepts of strategic management and business policy : How you could apply the concepts of Strategic Management and Business Policy to your current or future career. Name at least one strategic management model
What is the normal range of potassium : Diuretics - What is the normal range of potassium? What are the main side effects of furosemide? What are you concerned with
About your first experience with computer : Please tell us about your home, your interests, your goals, and your educational experience. Then, tell us about your first experience with a computer.

Reviews

Write a Review

Programming Languages Questions & Answers

  Clustering code that will first give me an optimal k

Want a clustering code that will first give me an optimal k and then assign my values to each cluster

  Write pseudo algorithm to input age

Write a pseudo algorithm that inputs Age, displays "Yes, you can vote" if Age is 18 or older and displays "You are too young to vote" if Age is less than 18.

  Program to calculate the electricity bill

Write a program to calculate the electricity bill. The rates of electricity per unit are as follows: If the units consumed are equal or less than 100, then the cost is Rs 8/- per unit.

  How to assess quality of computer program

These are generally done at macroscopic level, but how would you assess quality of computer program if you received the e-mail with source listing of a program?

  Creating code for method tostring

Fill in the code for method toString, which must return a string containing the name, account number, and balance for the account.

  Develop a program that must provide a menu to the user

Develop a program that must provide a menu to the user. This menu should list three different products of your choice.

  Create a static variable called numemployees

Create a static variable called numEmployees that holds an int and initialize it to zero. This will allow us to count all the Employee objects created in the main class.

  Create a new class called soda

Create a new class called Soda that is also a caffeinated beverage by default it will have no option for condiments. Have it called in main. Main also calls the old addLemon function on Tea so that the customer gets two lemons. Use an adapter to s..

  Determine the output displayed

Determine the output displayed when the button is clicked. Determine the output displayed when the button is clicked. Assume the five lines of the file Dates.txt contain the numbers 1492, 1776, 1812, 1929, and 1941 and the file is in the appropriat..

  Determine bowler had highest average and print name

Output the bowlers name, avg. and number of stars earned. Discover which bowler had the highest average and print out their name and average.

  Write a class for two instance variables

Write a class named ParkingMeter containing: Two instance variables named timeLeft and maxTime of type int. The value of timeLeft should be initialized to 0.

  Compare and contrast object-oriented languages

Compare and contrast object-oriented languages (Java, C++, C#, etc.) to imperative languages (C, Pascal, etc.) in terms of: Programmability Maintainability Performance Development tools Explain the use of scripting languages, such as JavaScript, PHP,..

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