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

Ics2212:Operating Systems 1 Question Paper

Ics2212:Operating Systems 1 

Course:Bachelor Of Information Technology

Institution: Meru University Of Science And Technology question papers

Exam Year:2013




INSTRUCTIONS: Answer question one and any other two questions
QUESTION ONE – 30 MARKS
a. What is an operating system? How does it make the usage of a computer easier for us (4 Marks) b. The terms “kernel” and “shell” are commonly used by operating systems designers. Explain the meaning of these two terms. (4 Marks) c. Name any three different types of process schedulers and explain how they are used in operating systems. (6 Marks) d. Distinguish between a process and a thread. Give suitable examples. (4 Marks) e. Describe any three different multithreading models for mapping user threads to kernel threads. (6 Marks) f. You are planning to develop an interactive operating system that allows multiple users to chat with each other. What scheduling algorithm would you use and why? (6 Marks)
QUESTION TWO – 20 MARKS
a. Distinguish between real time and time sharing operating systems and give suitable examples. (5 Marks) b. Briefly describe the shortest remaining time first scheduling algorithm and show how it works. (7 Marks) c. What is the schedule sequence for the following example and what is the total head movement?
Example Suppose that a disk drive has 300 cylinders (0 – 299). The disk needs to read cylinders 85, 170, 125, 2, 200, 65, 67. The current head position is cylinder 90. (8 Marks)
2
QUESTION THREE – 20 MARKS
a. What are interrupts and what is their purpose in operating systems? (4 Marks) b. What is a kernel module and why do we need it in modern operating systems? (4 Marks) c. Write codes that can initialize and stop a networks kernel module and then print the phrase “Welcome to Meru University”. (8 Marks d. What are deadlocks and which types of operating systems are most likely to experience deadlocks? (4 Marks)
QUESTION FOUR – 20 MARKS
a. Give the names of the states of a process and then draw a state transition diagram that shows how a process transmits from one state to another. (8 Marks) b. The main problem in serial operating systems has been identified as processor idle times. Explain the strategies you would apply in order to reduce those processor idle times. (6 Marks) c. Describe any three conditions necessary for a deadlock to occur. (6 Marks)
QUESTION FIVE – 20 MARKS
a. Distinguish between the following terms: (8 Marks) ? CPU time burst and I/O time burst ? Average waiting time and average turn around time
b. Given processer P1 to P5 with the same arrival times into the waiting queue and burst times of 5, 6, 2, 1 and 3 respectively, use gantt charts to illustrate how these processes will be scheduled using the FCFS and non preemptive SJF algorithms. (4 Marks) c. Calculate the average waiting time and the average turn-around times for the two algorithms in (b) above. (4 Marks) d. Explain how priority scheduling algorithms differ from SJF algorithms. (4 Marks)






More Question Papers


Popular Exams



Return to Question Papers