Get premium membership and access revision papers, questions with answers as well as video lessons.

Craft Certificate In Information Technology: Operating Systems  Question Paper

Craft Certificate In Information Technology: Operating Systems  

Course:Craft Certificate In Information Technology Module I

Institution: Masai Technical Training Institute question papers

Exam Year:2017



1. (a) Distinguish between a process and a system call. (4mks)
(b) Explain three features of 3rd generation operating systems. (6mks)
(c) Explain the following terms as applied in inter-process communication:
(i) Message passing;
(ii) Semaphores. (4mks)

2. (a) With the aid of sketch diagrams, describe the following process scheduling techniques:
i. Round robin;
ii. Multi-level feedback queues. (8mks)
(b) Explain four conditions that must hold for a deadlock to occur in a multiprogramming system. (8mks)
(c) Table 1 shows a number of processes with their corresponding run and arrival times. The processes arrive in the READY queue in the prescribed order.
Process Estimated run time(sec) Arrival time
1 15 0
2 55 9
3 7 17
4 105 31
5 10 40
Table1
Assuming FCFS scheduling algorithm, calculate:
i. The waiting time for each process;
ii. Turnaround time for each process;
iii. Comment on the fairness of the scheduling algorithm. (6mks)

3. (a) (i) Distinguish between high level and low level scheduling. (4mks)
(b) (i) State two sources of interrupts in a computer system. (2mks)
(d) Distinguish between process loading and process swapping as applied in operating systems. (3mks)

4. a). Explain three conditions that would cause a deadlock in a computer system. (6 marks)
c) i). An operating system should implement an effective lock system to manage deadlocks. Outline two factors of such a system. (2 marks)
d). ii). Distinguish between high level and low level scheduling. (4 marks)
e) List four examples of physical threats to data stored in a computer system. (2 marks)

5. a). Distinguish between process control block and CPU burst time as applied in process management.(4 mks)
b). Distinguish between preemptive and non-preemptive scheduling algorithm. (4 marks)
e) Distinguish between monolithic kernels and micro kernels. (4 marks)
(c) Distinguish between process control block and CPU burst time as applied in process management. (4mks)
(c) Distinguish between:
i. Spooling and buffering; (4mks)
ii. Device driver and disk drives. (4mks)
Explain one factor that leads to longer turnaround times during process execution. (2 marks)
With the aid of a diagram, describe inter process communication via message passing. (6 marks)
Describe four circumstances under which a running process can be terminated by an operating system.(8 mks)
Table 1 shows four processes with their corresponding arrivals and services time in a particular system. Use it to answer the questions that follows.
Process Arrival time Service time
A 0 1
B 1 9
C 2 1
D 3 6
Table 1
Assuming SRTN process scheduling algorithm, determine the average turn-around time for the system.(5 mks)
Explain the following terms as used in operating systems:
i. Process control block.
ii. Monolithic system. (4 marks)
Outline four basic operations associated with the change in the state of a process. (4 marks)
State four factors that you should consider when choosing an operating. (2 marks)
With the aid of a diagram, describe the round robin scheduling algorithm. (4 marks)
Distinguish between preemptive and non-preemptive scheduling algorithm. (4 marks)
c) i). A particular processing system that employs round robin scheduling algorithm uses a short time slice. Explain one positive and one negative effect of the time slice to the processing. (4 marks)
ii). Joseph, a data entry clerk, realized that all the active tasks on his computer system were deadlocked. Outline four approaches he could employ to recover from this situation. (4 marks)


 

Craft Certificate In Information Technology: Operating Systems question paper





More Question Papers


Popular Exams



Return to Question Papers