Programming languages features

Assignment Help Programming Languages
Reference no: EM132529972

ITECH5403 Comparative Programming Languages - Federation University

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 that 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 the 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 complimentary garlic bread for 100 AUD]

4. 1 large pasta = 8 AUD

5. 2 large pastas = 15 AUD

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

7. For every 3 pizzas AND 3 pasta, 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:

- the total payment amounts received for the pizza order

- the total payment amounts received for pasta order

- the total amount of pizzas and pasta 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.

Note - Need only lisp code.

Attachment:- Comparative Programming Languages Assignment File.rar

Reference no: EM132529972

Questions Cloud

Prepare the journal entry to account for any impairment : Patent rights 200 Machinery 1,000 Buildings 1,500 Land 2,300 5,000 Less: Prepare the journal entry to account for any impairment
Meltdown and spectre vulnerabilities : One of the biggest concerns when a vulnerability is discovered is how to inform the public.
What is the journal entries relating to income tax : The difference is due to rental received in advance. Rental income is taxable when received. What is the journal entries relating to income tax
Recently undergone serious cybersecurity breach : An organization has recently undergone a serious Cybersecurity breach where millions of customer's record were leaked / stolen.
Programming languages features : Test your skills in programming applications to specification in a number of different programming languages - implement or incorporate additional language
What amount should Sol credit to share premium : On May 31, 2008, Sol Company's board of directors declared a 10% stock dividend. What amount should Sol credit to share premium for this stock dividend
Prepare a corrected income statement for the quarter : Prepare a corrected income statement for the quarter. Your statement should show in detail how the cost of goods sold is computed.
Create a program for a pizza shop : Implementing a program in multiple languages - implement or incorporate additional language features that may be lacking, i.e. data structures.
Server virtualization and cloud computing : Describe the organization's environment, and evaluate its preparedness for virtualization. Explain Microsoft licensing for virtualized environments

Reviews

Write a Review

Programming Languages Questions & Answers

  Write wfa that allows user to enter positive number

Write a Windows Forms application (WFA) in C# that allows the user to enter a positive number. Then, when a button is clicked, executea for loop which displays.

  Write code for member method expand

Write code for the member method expand. To keep the code simple, you may assume that the array element has enough capacity and does not need to be resized.

  Write a windows application in visual basic

The calculator allows a user to eater numeric values via the 0.9 keysibuttoas. Arithmetic functions such as. add. subtract. multiply.

  Write a full program that asks the user to input six value

Write a full program that asks the user to input six value that represents the x and y coordinates for three points (x1, y1), (x2, y2), (x3, y3).

  Create program which calculate distance travelled by boat

Create a program which calculate distance a boat travels across a river, given the width of the river, the boat's speed perpendicular to the river.

  Write a program configures initializes io peripheral blocks

The main program configures initializes IO peripheral blocks, then  puts itself in an infinite loop. When the push button is pressed, the LCD panel displays "Red Alert!" for 3 second then clears.

  Write a client program that creates an array

Write a client program that creates an array of at least 5 Computer objects. The array should include both desktops and laptops.

  Write standalone program with recursive method string

Write a standalone program "TransformCharacters.java" with a recursive method String string changeCharacters(String string) that takes as an argument a string.

  Write a shell script to send customized mail message to user

Write a shell script to send a customized mail message to the users listed on the command line by login (user) name, only if they are currently logged on. If no users are listed on the command line, an error message should be printed.

  Create a software allowing for editing of vec files

CAB302 - Software Development - Vector Design Tool - Queensland university of technology - create new VEC files for the plotters by editing text files

  Write attribute grammar using only synthesized attributes

Semantics of this string literal is correct if numeric value of baseten numeral matches length of string. Write attribute grammar using only synthesized attributes for nonterminals in definition of

  Write a program that calculates how much an employee earn

Write a program that calculates how much an employee would earn over a period of time (in months), if, every month, the employee' pay-per-hour rate is one dollar

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