December
1999 QUESTION 1 (Compulsory) Total Marks: 30 Marks |
Click here to access other
questions
SUGGESTED SOLUTIONS |
(a) |
(i)What is another name for a short term
scheduler ?[1 mark ] (ii)How does a short term scheduler
work?[1 mark ]
|
[2] |
(b) |
List two non preemptive scheduling algorithms. •First Come
First Served. •Shortest Job
First. •Priority Scheduling.
|
[2] |
(c) |
Name the two ways of implementing fixed
partitioning .
|
[2] |
(d) |
Under what circumstances is spooling
useful?
|
[1] |
(e) |
When can deadlock occur?
|
[1] |
(f) |
Describe two objectives of language translation. •Instruction statement conversion (1 mark).High level language is converted into low level language (1 mark). •Source code error detection (1 mark).Any source code errors are identified, and error messages are generated (1 mark). •Object code optimization (1 mark).Object code which is compact and efficient is produced (1 mark).
|
[4] |
(g) |
(i)Describe two advantages of off-the-shelf
packages.[4 marks ] •Implementation
(1 mark).The implementation is cheaper and quicker (1 mark). (ii)Describe one disadvantage of off-the-shelf
packages.[2marks ] •Suitability
(1 mark).An off-the-shelf package is more likely to be suitable for
general requirements,rather than specific requirements (1 mark).
|
[6] |
(h) |
Name two techniques which may be used
for reducing disk access.
|
[2] |
(i) |
(i)List two advantage associated with
the use of sequential files.[2marks ] •File design
is simple. (ii)List two advantages associated with
the use of random files.[2marks ] •Fast access
for low hit-rate processing.
|
[4] |
(j) |
Describe the three essential elements
of an expert system . •The knowledge
base (1 mark).The knowledge base is domain specific and contains unconditional
factual statements derived from data stores (1 mark). |
[6] |