Operating Systems - Unit Wise Questions

Unit 1: Introduction and Evolution
1 Questions

8. Define system call. Explain operating system as a extended machine.

5 marks | Asked in Model Question

Unit 2: System Structures
1 Questions

11. What does time sharing means in multiprogramming? Explain any three types of operating system structure.

5 marks | Asked in Model Question

Unit 3: Process Management and Synchronization
5 Questions

1. Define critical section problem. Explain race condition with suitable example. 

10 marks | Asked in Model Question

4. Explain about the transition between different states of a process.

5 marks | Asked in Model Question

5. Why do deadlock occurs? How can you detect and recover from deadlock.

5 marks | Asked in Model Question

6. Consider the following set of processes, with the length of CPU burst time given in milliseconds.

        

        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 

5 marks | Asked in Model Question

9. How does process differ with thread? Discuss at least one multithreading model with its advantages and disadvantages.

5 marks | Asked in Model Question

Unit 4: Memory Management and File Systems
3 Questions

3. 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 marks | Asked in Model Question

7. Define swapping. How does the OS manage the virtual memory?

5 marks | Asked in Model Question

12. Why do we need multiple queues in process scheduling? What is the significance of TLB?

5 marks | Asked in Model Question

Unit 5: Input / Output Management
2 Questions

2. 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 marks | Asked in Model Question

10. How does DMA help in I/O management? Explain

5 marks | Asked in Model Question