What are the different types of operating system? Differentiate between Real time and Batch OS.
What is kernel? Explain the process of system call with suitable diagram.
What is Resource Allocation Graph (RAG)? What are the necessary conditions for deadlock? Explain. Determine if the system is safe from deadlock or not using Banker's Algorithm for given condition.
[Note: Consider process sequence as: P1, P2, P3, P4, P5]
| Need Matrix | Allocation Matrix | MAX Resource Matrix | ||||||||
| Process | A | B | C | Process | A | B | C | A | B | C |
| P1 | 1 | 4 | 3 | P1 | 3 | 1 | 1 | 17 | 8 | 10 |
| P2 | 3 | 2 | 1 | P2 | 1 | 3 | 1 | |||
| P3 | 0 | 2 | 0 | P3 | 4 | 1 | 1 | |||
| P4 | 3 | 2 | 4 | P4 | 0 | 1 | 0 | |||
| P5 | 5 | 2 | 3 | P5 | 2 | 0 | 1 | |||
Attempt any Eight questions
[8x5=40]What is an OS? Explain 3-state model of process with neat and clean diagram.
What is race condition? Explain critical problem solution using lock variable.
What is memory compaction? Explain best fit memory allocation with suitable example.
What is RAID? Explain Level-2 and Level-3 RAID.
How threads differ from processes? Explain user level thread and kernel level thread.
Consider the following page reference string: 3,2,1,3,4,2,3,9,7,4,2,9,8,3. Calculate the total number of page faults for Optimal and LRU page replacement algorithms using 4 page frame
Explain the working mechanism of DMA.
What is TLB? Explain the importance of TLB in conversion of logical address to physical address.
Consider 500 GB hard drive with 5 KB block size. Calculate the size of file allocation table if entry for each block needs 4 bytes.