18. As a process moves through the system, its status changes. Possible process statuses include FINISHED,
HOLD, READY,RUNNING, and WAITING.
19. A large job can have problems with a first-fit memory allocation scheme.
20. A compressed image file can be reconstructed if a lossy compression algorithm is used because the
compression process is reversible.
SECTIONB: SHORTQUESTIONS
[30
Marks]
1. Various OS components work together seamlessly to manage computer tasks. Explain the functions of
the following OS components from the time a user initiates a printing job to the completion of the job.
(4)
a) Device Drivers
b) Process Management
c) Memory Management
d) File Management
2. Explain the difference between a process and a thread.
(2)
3. Explain two security and protection measures that are offered in a multi-User environment by the
operating system.
(4)
4. List and explain the four conditions that activate the occurrence of a deadlock in the system?
(8)
5. Distinguish between page replacement algorithms and scheduling algorithms in operating systems.
(2)
6. Explain paging in terms of memory management?
(2)
7. Distinguish the types of file organisation in a system.
(6)
8. Explain the role of device drivers in device management.
(2)
Section C: Practical
[30 Marks]
Question 1: Consider a system having resources and processes as described below:
Resource 1 (Rl) have 1 instance
Resource 2 {R2) have 1 instance
Resource 3'(R3) have 1 instance
Process 1 is holding Rl; and is requesting R2.
Process 2 is holding R2; and is requesting Rl and R3.
Process 3 is holding R3; and is requesting Rl.