Your document for this assignment will be submitted to Blackboard under Final in one of the following file formats: ASCII, MS Word, or PDF
Note: More is better, to a point, donÃ¢â‚¬â„¢t wander in your explanations, but supply enough detail to show you understand the question.
- What is parametric polymorphism in a subprogram, and give an example of how it is used.
- Give an example of using a co-routine in which it is not possible to use a subroutine to accomplish the same task, provide code if necessary
- From a programmer point of view, make an argument that supports the use of deep access rather than shallow access; try to avoid an argument that revolve around performance.
- In chapter 10, the book describes two potential problems with the static-chain methods, excluding these two, describe another.
- Discuss alternative approaches to an abstract data type.
- Are there different categories, levels or implementations of the concept of abstract data types supported by modern language compilers, or does one definition fit all, please explain why or why not, give an example?
- Does Object-orientated programming and abstract data types go hand-in-hand or should they be considered separate entities. Is it strictly chance that these two concepts always appear together in a programming language. If you agree, explain why, if you donÃ¢â‚¬â„¢t agree , explain why, and give an example to support your decision.
- Explain the use of wrapper classes for non-object data types, so that wrapper methods can be implemented alleviating the issues of mixed non-object values with object related values.
- In java, there are four types of concurrency control, semaphores, monitors, locks and atomic values, give an example of when you would use one over the other, (you donÃ¢â‚¬â„¢t have to provide code, just explain the situation).
- Explain the differences between SISD, SIMD, MIMD, MISD processors, and the relationship to concurrency.
- Give an example where a functional language is significantly superior to an imperative language on solving a specific task.
- Explain the advantages of a declarative language over an imperative language. Show a real world example where this is true. Describe the difference between a declarative language and a functional language.