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

Comp 220:Operating Systems August 2010 Question Paper

Comp 220:Operating Systems August 2010 

Course:Bachelor Of Education Science

Institution: Kabarak University question papers

Exam Year:2010



KABARAK UNIVERSITY
UNIVERSITY EXAMINATIONS
2009/20010 ACADEMIC YEAR
FOR THE DEGREE OF BACHELOR OF EDUCATION SCIENCE
COURSE CODE: COMP 220



INSTRUCTIONS:
1. This question paper has FOUR questions
2. QUESTION ONE IS COMPULSORY AND HAS 30 MARKS
3. Answer any other TWO questions worth 20 marks each.

QUESTION ONE (30 marks)
(a) List four types of operating system (4mks)
(b) Explain how to prevent mutual exclusion condition in deadlock (2mks)
(c) What is operating system. Describe any four functions of operating system (5mks)
(d) Explain the booting process making use of the following terms; BIOS, POST, CMOS,
boot sector (5mks)
(e) List and explain any two file attributes (4mks)
(f) Explain the structure of an operating system (5mks)
(g) List and explain any two UNIX command (2mks)
(h) List any three issues in memory management (3mks)


QUESTION TWO (20 marks)
(a) Explain lock and unlock operations of semaphore. (2mks)
(b) Suppose you have three processes P1, P2 and P2 having their execution times 8sec,
6sec and 4sec respectively. If the time slice is 2sec explain how many rounds will it
take the scheduler to complete the processes using Round Robin algorithm (4mks)
(c) Write short notes in the following
(i) Priority Scheduling
(ii) Shortest Remaining Time scheduling (4mks)
(d) What is the use of kernel in operating system (2mks)
(e) What is Process control block. List any three of its contents (4mks)
(f) Explain any two ways of transfer of data between IO device and memory (4mks)


QUESTION THREE (20 marks)
(a) Explain the role of operating system in I/O management (4mks)
(b) Explain any two file extensions (2mks)
(c) Differentiate between preemptive and non-preemptive scheduling giving example for
each (4mks)
(d) What is virtual memory? Explain paging and segmentation (5mks)
(e) Explain with the aid of a diagram the process states (5mks)

QUESTION FOUR (20 marks)
(a) What was the state of operating systems in the first generation computers (2mks)
(b) Explain any two reasons that make UNIX a unique operating system (4mks)
(c) List Coffman’s (necessary) condition for deadlock (4mks)
(d) Explain the following terms in scheduling
(i) Waiting time
(ii) Throughput (4mks)
(e) What is starvation? Explain the use of aging as a solution for starvation (2mks)
(f) Explain an appropriate scheduling algorithm that can be used for printer
operation(2mks)
(g) Explain the following terms (i) Page fault
(ii) Demand paging (2mks)











More Question Papers


Popular Exams



Return to Question Papers