Bachelors Level/Second Year/Third Semester/Science bit/third semester/operating systems/syllabus wise questions

Bachelors In Information Technology

Institute of Science and Technology, TU

Operating Systems (BIT204)

Year Asked: Model, syllabus wise question

Input / Output Management
1.
When does interrupt concur? Suppose that a disk drive has the cylinder numbered from 0 to 199. The head is currently at cylinder number 53. The queue for services of cylinders is as 99, 183, 37, 122, 14, 124, 65 and 67. What is the total head movement in each of following disk algorithm to satisfy the requests? (a) FCFS (b) SSTF (c) SCAN [10]
2.
How does DMA help in I/O management? Explain. [5]
Introduction and Evolution
1.
What does time sharing means in multiprogramming? Explain any three types of operating system structure. [5]
Memory Management and File Systems
1.
What is page fault? Consider the following page reference string, 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1. How many page faults would occur for each of the following page replacement algorithms assuming 3 frames? a. FIFO b. Second Chance c. LRU [10]
2.
Define swapping. How does the OS manage the virtual memory? [5]
Process Management and Synchronization
1.
Define critical section problem. Explain race condition with suitable example. [10]
2.
Explain about the transition between different states of a process. [5]
3.
Why do deadlock occurs? How can you detect and recover from deadlock. [5]
4.
Consider the following set of processes, with the length of CPU burst time given in milliseconds. Processes CPU Burst Priority A 8 3 B 13 1(Lowest) C 19 2 D 3 4(Highest) The processed are assumed to have arrived in the order A, B, C and D all at time 0. What is the turnaround time and waiting time for the scheduling algorithms, RR(quantum = 5) and Priority Algorithm

$\begin{array}{|c|c|c|}\hline \text{Processes} & \text{CPU Burst} & \text{Priority} \\ \hline A & 8 & 3 \\ B & 13 & 1\,(\text{Lowest}) \\ C & 19 & 2 \\ D & 3 & 4\,(\text{Highest}) \\ \hline \end{array}$
[5]
5.
How does process differ with thread? Discuss at least one multithreading model with its advantages and disadvantages. [5]
6.
Why do we need multiple queues in process scheduling? What is the significance of TLB? [5]
System Structures
1.
Define system call. Explain operating system as a extended machine. [5]