Question Bank.docx

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Question Bank

1) Draw and explain five state Process State Transition Diagram.


OR
Draw and explain seven state process state transition diagram in detail.
2) Explain Thread Scheduling with suitable example.
3) What is process? Explain the process creation and termination.
4) What are various criteria for a good process scheduling algorithm? Explain any
two preemptive scheduling algorithms in brief.
OR
List out various criteria for good process scheduling algorithms. Illustrate
non-preemptive priority scheduling algorithm.
5) Explain the following Linux commands: (1) mkdir (2) touch (3) cat (4) rm
5)grep 6)sort 7)chmod 8)mkdir.
6) What is process? Explain process control block with all parameters.
7) What is scheduling? Explain the types of schedulers.
8) Differentiate process and thread.
9) Write a shell script to find factorial of an user-defined natural number.
10) List and briefly define four classes of real-time scheduling algorithms.
11) Five batch jobs A, B, C, D and E arrive at same time. They have estimated
running times 10, 6, 3, 4 and 8 ms. For each of the following algorithm determine
mean process turnaround time. Consider process swapping overhead is 1 ms.
1) FCFS
2) Round-Robin (Time quantum = 2 ms)
12) Five batch jobs P1, P2, P3, P4 and P5 arrive at 0, 1, 2, 3 and 4 ms. They have
estimated running times 14, 12, 8, 3 and 6 ms. Their priorities are 3, 5, 2, 1 and 4
respectively with 5 being highest priority. For each of the following algorithm
determine mean process turnaround time. Consider process swapping overhead is
0.5 ms. 1) SJF (Non-preemptive) 2) Priority Scheduling (Preemptive)
13) Describe the differences among long-term scheduling. short-term, and
medium- term scheduling.
14) Define multi-threading? Explain its benefits. OR What are the advantages of
multiprogramming?
15) Demonstrate FIFO and Round Robin CPU scheduling algorithms with suitable
example.
16) What is thread? Explain classical thread model.
17) Define preemption and nonpreemption.
18) Explain the Priority scheduling algorithm.
19) Differentiate between Windows and Linux file system.
20) What is the thread? What are the difference between user-level threads and
kernel supported threads? Under what circumstances is one type “better” than the
other?
21) Define the difference between preemptive and nonpreemptive scheduling.
22) What are the disadvantages of FCFS scheduling algorithm as compared to
shortest job first (SJF) scheduling?

You might also like