SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
Question bank Of Operating System|



Note:
Study my notes and assignments and Tutorial Question.
These are just few questions. Just don’t rely on these questions.

                             Process Synchronization
   1.    State The critical section problem. What requirements must a solution to the
         critical section problem satisfy?
   2.    State the structure of semaphore highlighting how it can be used for process
         synchronization
   3.    Define Semaphore
   4.        a. Consider the following snapshot of a system and Answer the following
                1) Find the content of NEED Column.
                2) Find whether system is safe or not using banker’s Algorithm
                3) Apply the resource-request algorithm when the request of P5=(1 0 2)
                4) If yes then give the safe sequence
               Process           Allocation         Maximum                Available
                             R1     R2   R3       R1    R2      R3        R1   R2      R3
          P1                 0       1    0        7    5       3     3          3      2
          P2                 2       0    0        3        2   2
          P3                 3       0    2        9     0      2
          P4                 2       1    1        2     2      2
          P5                 0       0    2        4     3      3
   5.    What are 2 process solutions?
   6.    Explain Peterson Algorithm. How it fulfill all the requirement of Critical
         Section
   7.    Explain Binary Semaphore
   8.    Explain all 3 algorithm solution for process synchronization for 2 process?
   9.    Define Starvation
   10.   Explain Bakery Algorithm?




         1                                        Compiled By Sonali Chauhan, U.D.I.T
Question bank Of Operating System|



                           Memory Management


   1. What is paging? Explain basic method used for paging?
   2. What is segmentation? Explain basic method used for segmentation?




         2                                     Compiled By Sonali Chauhan, U.D.I.T
Question bank Of Operating System|



                                     Deadlock
   1. What do you understand by safe and unsafe state? Explain Bankers algorithm
       with necessary data structure for deadlock avoidance
   2. Explain 2 strategies used for eliminating deadlocks
   3. What is deadlock? State the necessary condition for deadlock and explain any one
       strategy of deadlock prevention
   4. Explain Bankers algorithm with necessary data structure for deadlock avoidance.
   5. State the necessary condition for deadlock occurrence.
   6. Define Deadlock Prevention and Deadlock Avoidance.
       Explain 4 criteria for deadlock Prevention
   7. Explain how can we eliminating deadlock by aborting a process?
                    -    Abort all deadlocked processes
                    -    Abort 1 process at a time until the deadlock cycle is eliminated.
   8. Explain how we eliminating deadlock by Resource preemption can.
                    - Selecting a victim
                    - Rollback
                    - Starvation


   9. How can we recover from deadlock?
                    - Process Termination
                    - Resource preemption
   10. Explain a algorithm that examines whether a deadlock has occurred?
                    - Single instance of each resource type
                    - Several instance of resource type
   11. Explain 2 deadlock avoidance algorithms?
                    - Safe State
                    - Resource allocation graph algorithm


   12. Explain how can we prevent deadlock?



         3                                          Compiled By Sonali Chauhan, U.D.I.T
Question bank Of Operating System|



                                CPU Scheduling
   1. State and explain various characteristic criteria for CPU Scheduling algorithm
   2. Describe priority scheduling algorithm
   3. List the various scheduling criteria in CPU Scheduling
   4. State and explain FCFS scheduling algorithm
   5. Describe the difference between 3 type : Short term, long term ,midterm scheduler
   6. What is process scheduling? Explain the basic of ANY TWI Algorithm:
      1. FCFS
      2.   RR
      3. SJF
   7. Difference between all the scheduling algorithm
   8. Problems/Sums on CPU scheduling




           4                                      Compiled By Sonali Chauhan, U.D.I.T
Question bank Of Operating System|



                               Process Management
   1)    What is process? Explain 2 stated process
   2)    Explain 5 state process model
   3)    Explain task control block.
   4)    Explain operation on process
                      - Creation
                      - Termination
   5)    Explain process scheduling.
   6)    What are schedulers: explain Short term, long term, medium scheduler.
   7)    Write a short note
                      - Multitasking /time sharing system
                      - Batch systems
                      - Clustered system
                      - Multiprocessor
                      - Multiprogrammed systems
                      -
   8)    Services of OS
   9)    What is cooperative process?
   10)   What is interprocess communication
   11)   Short note on:
                          a) Message passing system
                          b) Direct indirect communication
                          c) Synchronization (synchronous and asynchronous)
                          d) Buffering
   12)   Explain single threaded process and multi threaded process
   13)   What are threads? What are it benefits?
   14)   Explain multithreading models?
   15)   Explain context switch?




         5                                         Compiled By Sonali Chauhan, U.D.I.T

Weitere ähnliche Inhalte

Was ist angesagt?

Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
sarankumar4445
 
Context Switching
Context SwitchingContext Switching
Context Switching
franksvalli
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
myrajendra
 

Was ist angesagt? (20)

Deadlock
DeadlockDeadlock
Deadlock
 
Ch5 answers
Ch5 answersCh5 answers
Ch5 answers
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
Chapter 7 - Deadlocks
Chapter 7 - DeadlocksChapter 7 - Deadlocks
Chapter 7 - Deadlocks
 
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
 
Deadlocks in operating system
Deadlocks in operating systemDeadlocks in operating system
Deadlocks in operating system
 
Operating system 11 system calls
Operating system 11 system callsOperating system 11 system calls
Operating system 11 system calls
 
Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Context Switching
Context SwitchingContext Switching
Context Switching
 
Peterson Critical Section Problem Solution
Peterson Critical Section Problem SolutionPeterson Critical Section Problem Solution
Peterson Critical Section Problem Solution
 
Operating System: Deadlock
Operating System: DeadlockOperating System: Deadlock
Operating System: Deadlock
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
 
Threads in Operating System | Multithreading | Interprocess Communication
Threads in Operating System | Multithreading | Interprocess CommunicationThreads in Operating System | Multithreading | Interprocess Communication
Threads in Operating System | Multithreading | Interprocess Communication
 
Context switching
Context switchingContext switching
Context switching
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
 
Threads .ppt
Threads .pptThreads .ppt
Threads .ppt
 
CPU Scheduling Algorithms
CPU Scheduling AlgorithmsCPU Scheduling Algorithms
CPU Scheduling Algorithms
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-scheduling
 
Deadlock ppt
Deadlock ppt Deadlock ppt
Deadlock ppt
 

Ähnlich wie Os Question Bank

Operating system interview question
Operating system interview questionOperating system interview question
Operating system interview question
sriram saravanan
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/A
Abdul Munam
 
Processscheduling 161001112521
Processscheduling 161001112521Processscheduling 161001112521
Processscheduling 161001112521
marangburu42
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2)
rohassanie
 

Ähnlich wie Os Question Bank (20)

Operating systems question bank
Operating systems question bankOperating systems question bank
Operating systems question bank
 
Operating system interview question
Operating system interview questionOperating system interview question
Operating system interview question
 
Operating system Q/A
Operating system Q/AOperating system Q/A
Operating system Q/A
 
Critical section operating system
Critical section  operating systemCritical section  operating system
Critical section operating system
 
Assignment1OS
Assignment1OSAssignment1OS
Assignment1OS
 
Operating Systems - Process Synchronization and Deadlocks
Operating Systems - Process Synchronization and DeadlocksOperating Systems - Process Synchronization and Deadlocks
Operating Systems - Process Synchronization and Deadlocks
 
Processscheduling 161001112521
Processscheduling 161001112521Processscheduling 161001112521
Processscheduling 161001112521
 
Processscheduling 161001112521
Processscheduling 161001112521Processscheduling 161001112521
Processscheduling 161001112521
 
Operating System- INTERPROCESS COMMUNICATION.docx
Operating System- INTERPROCESS COMMUNICATION.docxOperating System- INTERPROCESS COMMUNICATION.docx
Operating System- INTERPROCESS COMMUNICATION.docx
 
04 threads-pbl-2-slots
04 threads-pbl-2-slots04 threads-pbl-2-slots
04 threads-pbl-2-slots
 
04 threads-pbl-2-slots
04 threads-pbl-2-slots04 threads-pbl-2-slots
04 threads-pbl-2-slots
 
OS_module2. .pptx
OS_module2.                          .pptxOS_module2.                          .pptx
OS_module2. .pptx
 
Bca smu solved assignments
Bca smu solved assignmentsBca smu solved assignments
Bca smu solved assignments
 
Operating System Notes (1).pdf
Operating System Notes (1).pdfOperating System Notes (1).pdf
Operating System Notes (1).pdf
 
Operating System Notes help for interview pripration
Operating System Notes  help for interview priprationOperating System Notes  help for interview pripration
Operating System Notes help for interview pripration
 
Operating System Notes.pdf
Operating System Notes.pdfOperating System Notes.pdf
Operating System Notes.pdf
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2)
 
OVERVIEW OF RTOS
OVERVIEW OF RTOSOVERVIEW OF RTOS
OVERVIEW OF RTOS
 
Process synchronizationfinal
Process synchronizationfinalProcess synchronizationfinal
Process synchronizationfinal
 
1aos
1aos1aos
1aos
 

Mehr von Sonali Chauhan

Chapter 2 enterprise an overview - alexis leon
Chapter 2 enterprise  an overview - alexis leonChapter 2 enterprise  an overview - alexis leon
Chapter 2 enterprise an overview - alexis leon
Sonali Chauhan
 
Chapter 10 Future Directions In ERP
Chapter 10 Future Directions In ERPChapter 10 Future Directions In ERP
Chapter 10 Future Directions In ERP
Sonali Chauhan
 
Chapter 5 E R P Modules Alexis Leon
Chapter 5  E R P  Modules    Alexis  LeonChapter 5  E R P  Modules    Alexis  Leon
Chapter 5 E R P Modules Alexis Leon
Sonali Chauhan
 
Chapter 7 E R P Implementation Lifecycle Alexis Leon
Chapter 7   E R P  Implementation  Lifecycle    Alexis  LeonChapter 7   E R P  Implementation  Lifecycle    Alexis  Leon
Chapter 7 E R P Implementation Lifecycle Alexis Leon
Sonali Chauhan
 
Chapter 10 Future Directions In Erp A Lexis Leon
Chapter 10 Future Directions In Erp   A Lexis LeonChapter 10 Future Directions In Erp   A Lexis Leon
Chapter 10 Future Directions In Erp A Lexis Leon
Sonali Chauhan
 
Chapter 9 Vendors Consultants Users Alexis Leon
Chapter 9  Vendors  Consultants  Users    Alexis  LeonChapter 9  Vendors  Consultants  Users    Alexis  Leon
Chapter 9 Vendors Consultants Users Alexis Leon
Sonali Chauhan
 
Chapter 1 enterprise resource planning alexis leon
Chapter 1 enterprise resource planning   alexis leonChapter 1 enterprise resource planning   alexis leon
Chapter 1 enterprise resource planning alexis leon
Sonali Chauhan
 
Chapter 2 Enterprise An Overview Alexis Leon
Chapter 2 Enterprise  An Overview   Alexis LeonChapter 2 Enterprise  An Overview   Alexis Leon
Chapter 2 Enterprise An Overview Alexis Leon
Sonali Chauhan
 
Mobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerMobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen Schiller
Sonali Chauhan
 
3.Medium Access Control
3.Medium Access Control3.Medium Access Control
3.Medium Access Control
Sonali Chauhan
 
Process Synchronization
Process SynchronizationProcess Synchronization
Process Synchronization
Sonali Chauhan
 
Operating System Deadlock Galvin
Operating System  Deadlock GalvinOperating System  Deadlock Galvin
Operating System Deadlock Galvin
Sonali Chauhan
 
Erp Alex Leon Chapter 10
Erp Alex Leon Chapter 10Erp Alex Leon Chapter 10
Erp Alex Leon Chapter 10
Sonali Chauhan
 
Erp Alex Leon Chapter 5
Erp Alex Leon Chapter 5Erp Alex Leon Chapter 5
Erp Alex Leon Chapter 5
Sonali Chauhan
 

Mehr von Sonali Chauhan (20)

Chapter 2 enterprise an overview - alexis leon
Chapter 2 enterprise  an overview - alexis leonChapter 2 enterprise  an overview - alexis leon
Chapter 2 enterprise an overview - alexis leon
 
Chapter 10 Future Directions In ERP
Chapter 10 Future Directions In ERPChapter 10 Future Directions In ERP
Chapter 10 Future Directions In ERP
 
Chapter 5 E R P Modules Alexis Leon
Chapter 5  E R P  Modules    Alexis  LeonChapter 5  E R P  Modules    Alexis  Leon
Chapter 5 E R P Modules Alexis Leon
 
Chapter 7 E R P Implementation Lifecycle Alexis Leon
Chapter 7   E R P  Implementation  Lifecycle    Alexis  LeonChapter 7   E R P  Implementation  Lifecycle    Alexis  Leon
Chapter 7 E R P Implementation Lifecycle Alexis Leon
 
Chapter 10 Future Directions In Erp A Lexis Leon
Chapter 10 Future Directions In Erp   A Lexis LeonChapter 10 Future Directions In Erp   A Lexis Leon
Chapter 10 Future Directions In Erp A Lexis Leon
 
Chapter 9 Vendors Consultants Users Alexis Leon
Chapter 9  Vendors  Consultants  Users    Alexis  LeonChapter 9  Vendors  Consultants  Users    Alexis  Leon
Chapter 9 Vendors Consultants Users Alexis Leon
 
Chapter 3 E R P And Related Tech Alexis Leon
Chapter 3  E R P And Related  Tech    Alexis  LeonChapter 3  E R P And Related  Tech    Alexis  Leon
Chapter 3 E R P And Related Tech Alexis Leon
 
Chapter 1 enterprise resource planning alexis leon
Chapter 1 enterprise resource planning   alexis leonChapter 1 enterprise resource planning   alexis leon
Chapter 1 enterprise resource planning alexis leon
 
Chapter 2 Enterprise An Overview Alexis Leon
Chapter 2 Enterprise  An Overview   Alexis LeonChapter 2 Enterprise  An Overview   Alexis Leon
Chapter 2 Enterprise An Overview Alexis Leon
 
Chapter 1 Enterprise Resource Planning Alexis Leon
Chapter 1 Enterprise Resource Planning   Alexis LeonChapter 1 Enterprise Resource Planning   Alexis Leon
Chapter 1 Enterprise Resource Planning Alexis Leon
 
Chapter 7 Erp Implementation Lifecycle Alexis Leon
Chapter 7  Erp Implementation Lifecycle   Alexis LeonChapter 7  Erp Implementation Lifecycle   Alexis Leon
Chapter 7 Erp Implementation Lifecycle Alexis Leon
 
Mobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerMobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen Schiller
 
Se
SeSe
Se
 
3.Medium Access Control
3.Medium Access Control3.Medium Access Control
3.Medium Access Control
 
Process Synchronization
Process SynchronizationProcess Synchronization
Process Synchronization
 
Testing
TestingTesting
Testing
 
Operating System Deadlock Galvin
Operating System  Deadlock GalvinOperating System  Deadlock Galvin
Operating System Deadlock Galvin
 
Cpu Scheduling Galvin
Cpu Scheduling GalvinCpu Scheduling Galvin
Cpu Scheduling Galvin
 
Erp Alex Leon Chapter 10
Erp Alex Leon Chapter 10Erp Alex Leon Chapter 10
Erp Alex Leon Chapter 10
 
Erp Alex Leon Chapter 5
Erp Alex Leon Chapter 5Erp Alex Leon Chapter 5
Erp Alex Leon Chapter 5
 

Kürzlich hochgeladen

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Os Question Bank

  • 1. Question bank Of Operating System| Note: Study my notes and assignments and Tutorial Question. These are just few questions. Just don’t rely on these questions. Process Synchronization 1. State The critical section problem. What requirements must a solution to the critical section problem satisfy? 2. State the structure of semaphore highlighting how it can be used for process synchronization 3. Define Semaphore 4. a. Consider the following snapshot of a system and Answer the following 1) Find the content of NEED Column. 2) Find whether system is safe or not using banker’s Algorithm 3) Apply the resource-request algorithm when the request of P5=(1 0 2) 4) If yes then give the safe sequence Process Allocation Maximum Available R1 R2 R3 R1 R2 R3 R1 R2 R3 P1 0 1 0 7 5 3 3 3 2 P2 2 0 0 3 2 2 P3 3 0 2 9 0 2 P4 2 1 1 2 2 2 P5 0 0 2 4 3 3 5. What are 2 process solutions? 6. Explain Peterson Algorithm. How it fulfill all the requirement of Critical Section 7. Explain Binary Semaphore 8. Explain all 3 algorithm solution for process synchronization for 2 process? 9. Define Starvation 10. Explain Bakery Algorithm? 1 Compiled By Sonali Chauhan, U.D.I.T
  • 2. Question bank Of Operating System| Memory Management 1. What is paging? Explain basic method used for paging? 2. What is segmentation? Explain basic method used for segmentation? 2 Compiled By Sonali Chauhan, U.D.I.T
  • 3. Question bank Of Operating System| Deadlock 1. What do you understand by safe and unsafe state? Explain Bankers algorithm with necessary data structure for deadlock avoidance 2. Explain 2 strategies used for eliminating deadlocks 3. What is deadlock? State the necessary condition for deadlock and explain any one strategy of deadlock prevention 4. Explain Bankers algorithm with necessary data structure for deadlock avoidance. 5. State the necessary condition for deadlock occurrence. 6. Define Deadlock Prevention and Deadlock Avoidance. Explain 4 criteria for deadlock Prevention 7. Explain how can we eliminating deadlock by aborting a process? - Abort all deadlocked processes - Abort 1 process at a time until the deadlock cycle is eliminated. 8. Explain how we eliminating deadlock by Resource preemption can. - Selecting a victim - Rollback - Starvation 9. How can we recover from deadlock? - Process Termination - Resource preemption 10. Explain a algorithm that examines whether a deadlock has occurred? - Single instance of each resource type - Several instance of resource type 11. Explain 2 deadlock avoidance algorithms? - Safe State - Resource allocation graph algorithm 12. Explain how can we prevent deadlock? 3 Compiled By Sonali Chauhan, U.D.I.T
  • 4. Question bank Of Operating System| CPU Scheduling 1. State and explain various characteristic criteria for CPU Scheduling algorithm 2. Describe priority scheduling algorithm 3. List the various scheduling criteria in CPU Scheduling 4. State and explain FCFS scheduling algorithm 5. Describe the difference between 3 type : Short term, long term ,midterm scheduler 6. What is process scheduling? Explain the basic of ANY TWI Algorithm: 1. FCFS 2. RR 3. SJF 7. Difference between all the scheduling algorithm 8. Problems/Sums on CPU scheduling 4 Compiled By Sonali Chauhan, U.D.I.T
  • 5. Question bank Of Operating System| Process Management 1) What is process? Explain 2 stated process 2) Explain 5 state process model 3) Explain task control block. 4) Explain operation on process - Creation - Termination 5) Explain process scheduling. 6) What are schedulers: explain Short term, long term, medium scheduler. 7) Write a short note - Multitasking /time sharing system - Batch systems - Clustered system - Multiprocessor - Multiprogrammed systems - 8) Services of OS 9) What is cooperative process? 10) What is interprocess communication 11) Short note on: a) Message passing system b) Direct indirect communication c) Synchronization (synchronous and asynchronous) d) Buffering 12) Explain single threaded process and multi threaded process 13) What are threads? What are it benefits? 14) Explain multithreading models? 15) Explain context switch? 5 Compiled By Sonali Chauhan, U.D.I.T