Os Unit2 QB

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

Unit 2: Process Management

1. What is a process? Draw a state diagram and explain the various states of a process.
2. What do you mean by PCB? Where is it used? What are its contents? Explain. Process Control
Block (PCB)
3. Explain direct and indirect communications of message passing systems
4. Explain the difference between long term and short term and medium term schedulers
5. Define IPC. what are different methods used for logical implementations of message passing systems
6. Discuss common ways of establishing relationship between user and kernel thread
7. Explain multithreading models
8. Differentiate between
a. process and thread
b. long and short term schedules
c. user and kernel level threads
d. waiting and turnaround time
9. Describe the actions taken by a kernel to context-switch between processes.
10. Explain two fundamental methods for IPC
11. Why is a thread called LWP? Explain the threading models. bring out the concept of thread pool
12. List out the circumstances under which CPU scheduling is done
13. Consider the following process with arrival times

a. Draw the Gantt chart using FCFS, SJF preemptive and non preemptive scheduling
b. calculate the average waiting time for each of the scheduling
14. Consider the following process

SCK

Page 1

Unit 2: Process Management


a. Draw the Gantt chart using FCFS, RR scheduling(TQ=50)
b. calculate the average waiting time for each of the scheduling
15. Consider the following process

a. Draw the Gantt chart using SRTF, non preemptive SJF scheduling
b. calculate the average waiting time for each of the scheduling
16. Discuss the operation of process creation and termination in UNIX.
17. Explain the threading issues
18. Write a short notes on Pthraeds
19. Write a C program for forking a separate process
20. Discuss common ways of establishing relationship between user and kernel thread
21. Brief about scheduling criteria
22. Define a dispatcher. What are the functions of dispatcher
23. compare peremptive and non preemptive scheduling
24. If 14 process arrive every second and if there are 28 processes normally in the queue, compute the
average waiting time per process. define the standard formula used for this.
25. Describe the use of fork() and exec() system call
26. What is a thread? how it is different from process? Differentiate between single and multi threaded
system
27. What are cooperating process? what are its advantage?
28.

SCK

Page 2

Unit 2: Process Management


29.

30.

31.

32.

33.

SCK

Page 3

You might also like