August
1997 QUESTION 5 Total Marks: 20 Marks |
Click here to access other
questions
Click to access |
| 5. | (a) Discuss any three benefits of object-oriented programming and give appropriate examples to illustrate the benefits. | [12] | |
| You should structure your answer as follows: list each benefit, discuss that benefit in more detail, and give an appropriate example. Do this for each of the three benefits. | |||
| (b) State and explain one disadvantage of object-oriented approaches to programming. | [3] | ||
| (c) Provide concise answers to the following questions: | |||
| (i) Can a non object-oriented language be used to create and use ADTs? Explain your answer. | [3] | ||
| (ii) Why do object-oriented languages exist? | [1] | ||
| (iii) Name three OOP languages. | [1] | ||