Operating Systems November 2017 Past Paper – KNEC Diploma

Operating Systems November 2017 Past Examination Question Paper – KNEC

This Past Paper examination was examined by the Kenya National Examination Council (KNEC) and it applies to the following courses:

  • Diploma in Information Communication Technology – Module I

Note: To easily navigate through the KNEC Past Examination Paper Pdf below, Mobile phone users are advised to use Mozilla or Chrome browsers

November 2017
Time: 3 hours

1. (a) Outline three functions of the Job control language in a computer system. (3 marks) Explain each of the following terms as used in operating systems:
(i) Spooling;
(ii) Warm boot;
(iii) Context switch. (6 marks)
(c) A disk has the following head movement queue 95, 190, 40, 115, 18, 123, 52, 60 with the read-write head initially at track 40 and the tail track at 210. With the aid of a Gantt graph, determine the total seek time using each of the following disk scheduling algorithms:
(i) Shortest seek time first;
(ii) Elevator assuming the head moves towards 0. (7 marks)
(d) Explain two reasons why application programs are temporarily stored in the main memory of a computer system. (4 marks)

2. (a) Outline three examples of systems calls for each of the following:
(i) File manipulation;
(ii) Communication.
b) Explain two modes of processing supported by multiprocessing operating system. (4 marks)
(c) Several programs can be run simultaneously using a multiprogramming operating system. (6 marks)
(i) Explain the objective of this mode of processing. (2 marks)
(ii) Explain the problem associated with this mode of processing. (2 marks)
(d) Joseph intends to acquire an operating system for his company’s network system. Explain three factors he should consider other than cost. (6 marks)

3. (a) The operating system uses various approaches of interfacing with users. Describe three such approaches. (6 marks)
(b) Explain each of the modes of programmable clocks as used in I/O device management:
(i) One-shot;
(ii) square-wave.
(c) Distinguish between the CPU bound and I/O bound jobs during inter process communication. (4 marks)
(d) Files can be stored on a directory using various logical structures. Describe three such structures that the operating system supports. (6 marks)

4. (a) Outline three objectives of I/O scheduling in a computer system. (3 marks)

d) A system disk has been diagnosed to be having low access speed. Explain three ways in which the operating system could improve the performance of such a disk. (6 marks)

7. a) Outline two examples for each of the following types of interrupts within a computer system:
i) Internal
ii) External; (4 marks)
b) With the aid of a diagram, describe three of the layered structures of a file system as used in operating systems. (8 marks)
c) Differentiate between deadlock avoidance and deadlock prevention as used in operating systems. (4 marks)
d) Explain two circumstances under which a preemptive scheduling decision would be made by the operating system during inter-process communication. (4 marks)

8. Explain two disadvantages associated with linked file allocation method.
b) Distinguish between page and frame as used in memory management.
c) A deadlock can be eliminated by either of the following methods:
ii) aborting deadlocked processes all at once;
ii) aborting one process at a time until the deadlock is eliminated.
Describe a disadvantage associated with each elimination method. (4 marks)
d) Distinguish between each of the following process states as used in process control:
i) Running state and ready state,
ii) Blocked state and terminated state. (8 marks)

Share through

Leave a Reply

Your email address will not be published. Required fields are marked *