December 1998
SW204: SOFTWARE AND FILES DESIGN

QUESTION 3

Total Marks: 20 Marks

Click here to access other questions

Click to access
SUGGESTED SOLUTIONS
for Question 3

3. (a) What is the basic purpose of a compiler?

 

[2]

(b) Describe four differences which exist between a compiler and an interpreter.

 

[4]
(c) Describe the five functions performed by a compiler when source code is submitted for compilation.

 

[10]
(d) Draw a diagram to illustrate the behaviour of each of the following types of loader:
(i) Compile-and-go loaders. [2]
(ii) Absolute loaders. [2]