Attempt any Eight questions.
[8*5=40]
4.
What is an OS? Explain 3-state model of process with neat and clean diagram. [5]
5.
What is race condition? Explain critical problem solution using lock variable. [5]
6.
What is memory compaction? Explain best fit memory allocation with suitable example. [5]
7.
What is RAID? Explain Level-2 and Level-3 RAID. [5]
8.
How threads differ from processes? Explain user level thread and kernel level thread. [5]
9.
Consider the following page reference string: 3,2,1,3,4,2,8,9,7,4,2,9,8,3. Calculate the total number of page faults for Optimal and LRU page replacement algorithms using a 4 page frame. [5]
10.
What is TLB? Explain the importance of TLB in conversion of logical address to physical address. [5]
11.
Consider 500 GB hard drive with 5 KB block size. Calculate the size of the file allocation table if entry for each block needs 4 bytes. [5]
12.
Explain the working mechanism of DMA. [5]