Component

Component: Option: Evolution of programming languages

Question 24

Written Paper Section III Question 24 - 2003 HSC

(a) Define procedure and function in the imperative and functional programming paradigms. Use small fragments of code in languages to illustrate the definitions. Explain the reasons for the development of the functional paradigm. (b) Identify the paradigm supported by the programming language used to write the program. Justify listing THREE features and give examples from the code. Extend the show_capital module (line 27) so that it prompts for and accepts the capital of the country not in the database. (c) Compare and contrast the appropriateness of the OOP paradigm for the software solution with the three types of paradigms.

Question 24

Written Paper Section III Question 24 - 2002 HSC

(a) Discuss the main influences on a programmer's productivity and other factors that have influenced the development of other paradigms. (b) Define three aspects of object-oriented languages and explain how they improve reusability and maintainability of code. (c) Recommend a paradigm for the solution of a problem and explain why other paradigms are less appropriate.

Question 24

Written Paper Section III Question 24 - 2001 HSC

(a) Identify and justify features of the programming paradigm used. (b) Discuss reasons for emergence of object-orientated programming paradigm. (c) Describe the logic error and two methods of correction. Write a definition for a triangle to be added to the program. (d) Justify a programming paradigm to develop the system described in the passage.