Question Bank - BCS303 - Version3
Question Bank - BCS303 - Version3
Question Bank - BCS303 - Version3
Questions Bank
Subject Name: Operating Systems
Subject Code: BCS303
Sem: III
Faculty Name : Kishore P J
Module -1 Questions.
1. Explain layered approach.Mention its advantages and disadvantages. 5m
2. Explain microkernel approach .What are its benefits 5m
3. Explain the ‘graceful degradation ‘ and ‘fault tolerent’in a multiprocessor system
4. Define virtual machine .With a neat diagram explain the working of virtual machine.
5. What Are the benefits of virtual machine. 10m
6. Define the essential properties of the following type of operating system
a)time sharing b)distributed c)real time d)multiprogramming 10m
7. What is the difference between hard real time and soft real time system 5m
8. Explain the different services that an operating system provides. 10m
9. What are the 5 major activities of an operating system with regard to process
Management 5m
10. What are the main purposes of operating system 5m
11. Explain the multiprocessor system 5m
12. Describe the difference between symmetric and asymmetric multiprocessing 5m
13. Explain the distinguishing feature of 1)real time system 2)multiprocessor system 10m
14. Explain the function of memory management. 5m
15. What is the purpose of system calls 5m
1|Page
Module-2
6)What is a process? With a state diagram explain states of a process.Also write the
structure of process control block. 10m
7). consider following process with cpu burst time given in milliseconds. 10 m
3|Page
Module-3
1 ) Explain semaphores.State the dining philosopher problem and give the solution for the
same using semaphores. 10M
2) Describe the bounded buffer problem and give the solution for the same using
semaphores.Write the structure of producer and consumer process. 10 m
3) explain in brief race condition. 5m
4 ) Define the term crfitical section?what are the requirements for critical section problems.
5) Give the solution for readers/writers problem using semaphore. 10 m
6) Explain Petersons algorithm 5m
7) The operating system contains 3 resources .the number of instances of each resource type are
7,7,10 .The current resource allocation state is as shown below. 10M
4|Page
10) consider the following snapshot of a system 10 marks
Process allocation max available
A B C D A B C D A B C D
P0 0 0 1 2 0 0 1 2 1 5 2 0
P1 1 0 0 0 1 7 5 0
P2 1 3 5 4 2 3 5 6
P3 0 6 3 2 0 6 5 2
P4 0 0 1 4 0 6 5 6
Answer the following questions using bankers algorithm.
1)What is the content of need matrix,
2)determine If system is in safe state.
3)If a request from process P1 arrives for (0,4,2,0)can the request be granted immedietly.
11) For resource types A,B, C maximum instances present in the system are A=10,B=5,C=7
1)calculate need matrix. 10 m
2)check whether system is safe or not .
ALLOCATION MAX AVAILABLE
A B C A B C A B C
P0 0 1 0 7 5 3 3 3 2
P1 2 0 0 3 2 2
P2 3 0 2 9 0 2
P3 2 1 1 2 2 2
P4 0 0 2 4 3 3
12) Explain deadlock detection and deadlock recovery in detail 10 m
13) Describe the Bankers algorithm for deadlock avoidance. 10m
14) what are the necessary conditions for deadlock to occur 10m
15) Explain the resource allocation graph. 10m
16) State the dining philosopher problem and give the solution for the same using monitors
10m
5|Page
Module-4
5) Explain best fit and first fit algorithm for dynamic partitioned memory management 6M
12) With a diagram discuss the steps involved in handling a page fault 10m
2,3,2,1,5,2,4,5,3,2,5,2
16) Explain demand paging.Give advantage and disadvantage of demand paging 05m
6|Page
Module-5
1)contigious 2)linked
3) With a neat diagram describe 1)tree structured directory 2)Acyclic graph directory 10m
4) What do you mean by free space list?With suitable examples explain any 2 methods of
implementation of free space list. 10m L5
5) With suitable examples explain different methods of implementation of free space list 10 m
6)List the common file types along with its extentions and functions 05m
11) Explain access matrix method of system protection with domain as objects and its
implementation. 10 m
12) consider a disc queue with requests for I/O to blocks on cylinder
98,183,37,122,14, 124,65,67
If the disc head is start at 53,then find out the total head movement with respect to
FCFS,SSTF,SCAN,C-SCAN, and LOOK scheduling 10 m
13) Suppose that a disc drive has 5000 cylinders , numbered 0 through 4999.The drive is serving a
request at cylinder 143.The queue of pending requests in FIFO order is
86,1470,913,1774,948,1509,1022,1750,130 starting from the head position.What is the total
distance (in cylinders) that the disc arm moves to satisfy all the pending requests for each of the
following disc scheduling algorithms ? FCFS,SSTF,SCAN,LOOK,C-SCAN,C-LOOK 10m