Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
54 views2 pages

Question Bank For Module 2 Os

The document contains a question bank for process management and concurrency control module. It lists 23 questions related to processes, scheduling, context switching, inter-process communication, multithreading, synchronization, critical section problem, semaphores and deadlocks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views2 pages

Question Bank For Module 2 Os

The document contains a question bank for process management and concurrency control module. It lists 23 questions related to processes, scheduling, context switching, inter-process communication, multithreading, synchronization, critical section problem, semaphores and deadlocks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Question Bank for Module 2

1. Define a process?Identify the different states of a process with its neat


diagram?
2. Explain Process control bank?
3. What is the purpose of a scheduler ? What are the scheduling criteria?
4. What is the difference between short term scheduler,Long term
scheduler and Medium term scheduler?
5. What is a context switching
6. Explain about process creation and process termination?
7. What is cooperating process?Identify the reasons for process
cooperation?
8. Implement the IPC mechanism using message passing model?
9. What is Multithreading?Discuss the benefits of multithreading?
10. Identify the challenges faced when implementing multicore systems?
11. What are different Multithreading models with a neat sketch?
12. Explain about fork() and exec() system call
13. What is the purpose of a scheduler? Identify the Scheduling criteria?
14. Discuss two types of scheduling algorithms?
15. Calculate the average turnaround time, Waiting time for the below
mentioned table by drawing Gantt chart using FCFS,RR(q=2ms) and
Priority algorithm.Lower priority number represents higher priority?
Process Arrival Time Burst time Priority
P1 0 9 3
P2 1 4 2
P3 2 9 1
P4 3 5 4

Question Bank for Module -3


16. Identify the purpose of synchronization?
17. Build the pseudo code for Producer and consumer process.
18. What is a critical section problem?
19. What are the necessary requirements for the solution of critical section
problem?
20. Discuss Peterson solution(software based solution) and Hardware based
solution for critical section problem?
21. What is a semaphore and what are its operations? and how mutual
exclusion is preserved
22. Define deadlock with example and its diagram?
23. What are necessary conditions that should hold simultaneously to arise a
deadlock?

You might also like