Reference no: EM131099061
Assignment - Parallel Implementations
Assignment Overview
You are tasked with creating a text-based program for taking orders at a roast dinner shop - however, as this is a comparative languages course, you will be creating the same application in the following four programming languages:
-C or C++ (you may choose either of these),
-Python,
-Java, and
-Lisp or Perl (you may choose either of these)
Requirement
Implementation of the roast dinner shop program in the C or 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).
Implementation of the roast dinner shop program in the Python programming language. Areas of note include:
- Python Standard library,
- List mechanisms.
Implementation of the roast dinner shop program in the Java programming language. Areas of note include:
- Object orientation mechanism / method calls,
- Error handling
- Standard Java libraries
Implementation of the roast dinner shop program in the Lisp or Perl programming languages. Areas of note include:
- Possible use of recursion
- lists
- Inbuilt data structures
Documentation and discussion of the comparative ease of implementation (design / implement / debug) in each programming language, including how robustness issues were addressed.
Attachment:- Assignment.rar
Takes as argument an array indexed by integers
: b) A function that takes as argument an array indexed by integers, with elements of any type. and returns an array whose elements are the objects pointed to by the elements of the given array.
|
What is the speed of halley''s comet when it is closest
: Using these data, determine the distance of Halley's comet from the Sun at perihelion and at aphelion.
|
For expressions with the operators
: Suppose that the type of each identifier is- a subrange of integers. For expressions with the operators +. -, *. div, and mod. as in Pascal. write type-checking rules that assign to each sub expression the sub range its value must lie in.
|
Find the frequency of radial oscillations
: Find the frequency of radial oscillation
|
Creating a text-based program for taking orders
: ITECH5403 - Comparative Programming Languages. You are tasked with creating a text-based program for taking orders at a roast dinner shop - however, as this is a comparative languages course, you will be creating the same application in the followi..
|
Consider the encoding of restricted type expressions
: Consider the encoding of restricted type expressions as sequences of bits in Example 6.1. In Johnson {1979], the two-bit fields for constructors appeared in the opposite order with the field for the outermost constructor appearing next to the four..
|
Research and cite an example of poor distribution
: Describe why you believe you believe your example demonstrates poor supply chain management, including the impact on the customers of the cited supply chain system.
|
Find the maximum and minimum values of r
: The mass is struck by a sudden sharp blow, giving it instantaneous velocity of 1 m/s radially outward. Show the state of the system before and after the blow on a sketch of the energy diagram.
|
How does the author organize the material
: How does the author organize the material? What is the logic behind the topics of the chapters, and how do the chapters work together to make a book?
|