August 1999
SW204 : SOFTWARE AND
FILE DESIGN

QUESTION 1 (Compulsory)

Total Marks: 20 Marks

Click here to access other questions

Click to access
SUGGESTED SOLUTIONS
for Question 1

(a) How might an operating system detect that deadlock has occurred?

 

[1]
(b) Define the term fixed-partition multi-programming.

 

[2]
(c) (i) Give one similarity between compilers and interpreters.

(ii) Give one difference between compilers and interpreters.

 

[1]

[1]

(d) Name two types of loader.

 

[2]
(e) Name two virtual memory implementation techniques.

 

[2]
(f) What are the two categories of randomizing algorithms?

 

[2]
(g) Define the term real-time processing.

 

[1]
(h) Define the term expert system.

 

[1]
(i) List two indexing techniques.

 

[2]
(j) Perform a lexical analysis on the following piece of code:

Start of code
010     *The purpose of this module is to calculate recurrent chargers.
020     *Check on Display Index
030               IF Display-Index = 'Y'
040                            Display 'Calculate Recurrent Charges'
050                 End-if.
060     *Compute Total Recurrent Charges
070                 Compute WS-Total (WS-Array)=
080                             Charge (001) +
090    *Charge (001) = Domestic Charge
100                            Charge (002) +
110    *Charge (002) = Refuse Charge
120                            Charge (003) +
130    *Charge (003) = Sanitary Appl Fee
End of code

 

[5]