Table of Contents
On this page, you will find all the most important and most asked questions from unit 2 of the Operating System subject.
Questions
- What is process and process model?
- Explain the various states of process.
- What do you understand by context switching? Explain with the help of diagram.
- What do you understand by process control block? Write the various type of information contain by PCB.
- Write the difference between long term, middles term and short term schedulers.
- What is Interprocess communication? Discuss its two models.
- What is thread?
- Write the difference between user level and kernel level thread.
- Write advantage and disadvantage of user level and kernel level thread.
- What is the goal of CPU scheduling algorithm?
- Describe dispatcher.
- What is concurrency? Write its principle.
- What do you understand by critical section. Explain.
- What are the requirements of critical section problem.
- What is race condition? Explain with the help of producer and consumer problem.
- What is mutual exclusion. Write its four condition and explain it.
- Write and explain the Peterson solution to the critical section problem.
- What is semaphore? Explain.
- Discuss the classical problem of synchronization.
- Write an algorithm for producer-consumer problem.
- Describe the reader-writer problem.
- Describe the Dining-philosopher problem.
- Write the sleeping barber problem of synchronization.
What did you think?
Similar Reads
-
Advantages and Disadvantage of User level and Kernel Level Threads
User-Level Threads Advantages of User-Level Threads Speed and Efficiency: Operations such as thread creation, switching, and destruction are faster because… -
Difference Between User-level and kernel-level thread
User-level and kernel-level threads represent two approaches to thread management in operating systems. Both have some differences Difference Between User-level… -
What is Deadlock in OS? Explain with the help of a diagram.
A deadlock is a condition where each of the processes is waiting for a resource which is allotted to other… -
Preemptive and Non-Preemptive Algorithm in Operating System
Preemptive Scheduling Algorithm Here, a scheduler can preempt a running low-priority process at any time when a high-priority process enters… -
CPU scheduling algorithms Criteria in Operating System
There are different criteria for the CPU scheduling algorithm. CPU scheduling algorithms Criteria are CPU utilization: The main purpose of… -
Sleeping Barber Problem of Synchronization in Operating System
It is a synchronization and inter-process communication problem. This problem is based on a barbershop. A barbershop has a single… -
Reader-Writer Problem in Operating System with Code
The readers and writers problem based on an object like a file which is shared in different processes. Some processes… -
Discuss the Classical problem of synchronization
Using semaphores for synchronization is the traditional way to present the solutions. There are four types of the classical problem… -
Semaphore in Operating System and its types
A semaphore is simply an integer variable that is shared between multiple threads. We can also say A semaphore is… -
Mutual exclusion in Operating System with its four conditions
When a process is executed in a critical section, then no other process can be executed in their critical section.…