1. Explain clearly short-term and long-term scheduling.            
                                      
  2. What do you mean by the processor scheduling ? Explain the various levels of scheduling .                                                                      
  3. What are semaphores? How does semaphores solve dinning philosopher problem.                                             
  4. Explain Peterson solution for mutual exclusion.                                                
                   
  5. Define race condition. List the requirements that a solution to critical section problem must satisfy.

  6. Explain critical section problem. How are semaphores used for solving critical section problem?  

  7. What is preemptive and non preemptive scheduling? Discuss one preemptive and one non preemptive scheduling algorithm.                                
                                                              
  8. Explain producer and consumer problem. How it solved using semaphore?  
     
  9. Explain race condition.      
                                                                                         
  10. What is dining philosopher’s problem? Explain the solution of this problem by a suitable example
    Describe following:                                                                                                                   (i) Semaphore.
    (ii) Wait() operation
    (iii) Signal() operation
        
  11.   Consider the following set of process with the arrival time and CPU burst time given in milliseconds

    ProcessesArrival timeCPU burst time 
    P105
    P213
    P323
    P43


  12. What is avg. waiting time for these processes with the preemptive shortest job first scheduling?   .             
  13.  Consider the following set of processes

    ProcessesBurst timeArrival timePriority
    P11002
    P2521
    P3230
    P42053


  14. Draw Gantt charts and calculate average wait time, average turnaround time using following CPU scheduling.

  15. Preemptive shortest job first 

  16. Non preemptive priority(0=HIGH priority)
      
                                                                           
  17. Consider the following set of processes with the length of CPU burst time given in (m sec)

    ProcessesBurst timePriority
    P1103
    P211
    P323
    P414
    p552


  18. Draw 4 gantt charts illustrating the execution of these processes using FCFS, SJF, non preemptive priority(a smaller priority number implies a higher priority) and RR(quantum=1) scheduling.

  19.  What is turnaround time of each process for each of the scheduling algorithms in part (i)?

  20. What is the waiting time of each process for each of the scheduling algorithm in part (i)?

  21. Which of the schedules in part (i) results in the minimal average waiting time.  
OUR PARTNERSWebsite builderuCoz