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?