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: 2080, syllabus wise question

Input / Output Management
1.
Suppose that a disk drive has the cylinder numbered, 0 to 199 is currently serving a request at cylinder 143. The request queue is kept in the FIFO order 25, 17, 119, 197, 194, 15, 182, 115, and 183. What is the total head movement needed to satisfy these request for the following disk scheduling algorithm. a) FCFS b) SSTF [5]
2.
What is memory mapped I/O? Explain about device independent I/O software. [5]
Memory Management and File Systems
1.
Why Optimal Page Replacement is best but not practically feasible page replacement algorithm? Calculate the number of page faults for Optimal, LRU and FIFO replacement algorithm for the reference string: 1, 3, 4, 2, 3, 5, 4, 3, 1, 2, 4, 6, 3, 2, 1, 4, 2 using 3 page frames. [10]
2.
Why virtual memory technique is used in the computer system? What is logical address? Explain the process of conversion of logical address to physical address using TLB. [10]
3.
A 2 GB disk has a 4-KB block size, calculate the size of the file allocation table if each entry of the table is 4 bytes. [5]
4.
Write down the basic difference between coalescing and compaction with diagram. [5]
Process Management and Synchronization
1.
Find Average waiting time and turn-around time for following example using FIFO, SRTF and Round Robin scheduling algorithm. Assume quantum as 4 ms.

$\begin{array}{|c|c|c|}\hline \text{Process id} & \text{Arrival time} & \text{Burst time (ms)} \\ \hline P1 & 0 & 8 \\ P2 & 1 & 5 \\ P3 & 1 & 10 \\ P4 & 2 & 13 \\ P5 & 2 & 17 \\ \hline \end{array}$
[10]
2.
What is process? Explain 3 state process models with suitable diagram. [5]
3.
Differentiate between deadlock and starvation? Discuss the process of detecting deadlocks when there are multiple resources of each type. [5]
4.
Differentiate between process and a program. What is PCB? [5]
5.
Write down the Solving technique of the producer consumer problem with Message passing? [5]
System Structures
1.
What is system call? Explain the system call process in detail. [5]