You are on page 1of 3

Dr. B.R.

Ambedkar National Institute of Technology


Jalandhar

Practical File for Operating Systems


Laboratory
CSX-325

Session: Jul-Dec 2019

Submitted to: Submitted by:


Mr. D. K. Gupta Awwal Boparai
Associate Professor 17103019
Department of Computer Science G1
& Engineering CSE (3rd Year)
INDEX
S. No. Program Date Page Remarks
1. Introduction to shell scripting. 1
2. To write a shell script to read a file. 2
It should read a the starting and
ending index and read the file and
save the output.
3. To write a program for first come 3
first serve CPU scheduling.
4. To write a program for shortest job 5
first CPU scheduling.
5. To write a program for round robin 8
CPU scheduling.
6. To write a program for longest job 12
first CPU scheduling.

7. To write a program for longest 15


reaming job first CPU scheduling.

8. To write a program for Non pre- 18


emptive priority CPU scheduling.
9. To write a program for Shortest Job 21
Remaining First CPU scheduling.
10. To write a program for Highest 24
response ratio next CPU scheduling.
11. WAP for Peterson’s algorithm. 27
12. WAP program for Bakery algorithm. 30

13. WAP for Dekker’s algorithm. 33

14. WAP for producer consumer 35


problem.
15. WAP for Reader-Writer problem. 37
16. WAP to implement the solution of 41
Dining Philosophers problem.
17. WAP to implement solution to 44
deadlock problem using Banker’s
algorithm.
18. WAP to implement FIFO page 46
replacement algorithm.
19. WAP to implement LRU page 48
replacement algorithm.
20. WAP to implement Optimal Page 51
Replacement algorithm.

You might also like