0% found this document useful (0 votes)
3 views

OSY Assignment No 4

Uploaded by

sanchitahiwrale
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

OSY Assignment No 4

Uploaded by

sanchitahiwrale
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment No: 04

1) What is meant by CPU Scheduling?


2) State the meaning of following terms with respect to process scheduling
algorithm a) Response time b) Deadline c) Throughput d) Turnaround Time
3) Describe CPU & I/O burst cycle.
4) Describe the priority process scheduling algorithm.
5) Describe the SJF scheduling method? Illustrate with example.
6) Explain with example SRTN scheduling algorithm.
7) Explain principles of Deadlock.
8) How to prevent deadlock? Explain in brief.
9) With suitable diagram describe banker’s algorithm
10) Explain safe state in detail.
11) Consider the following snapshot of a system.

Job Arrival Time CPU Burst Time


1 0 7
2 1 2
3 2 5
4 3 4
Compute TAT using RR with time Quantum 3 and SJF (non-preemptive)
12) Consider the following snapshot of a system.

Job Arrival Time CPU Burst Time


1 0.0 8
2 0.5 5
3 1.0 2
Compute AWT & ATAT using 1) FCFS 2) SJF (preemptive)
13) Consider the following set of process with CPU Burst time given in
millisecond

Process Arrival Time CPU Burst Time


1 1 5
2 0 7
3 3 3
4 2 10
Illustrate AWT & ATAT using

1) RR(TQ=3)
2) SRTN

You might also like