You are on page 1of 1

ANNA UNIVERSITY: CHENNAI

B.E PRACTICAL EXAMINATIONS, APRIL / MAY 2017


COMPUTER SCIENCE AND ENGINEERING
Fourth Semester- Regulation 2013

CS6413 – OPERATING SYSTEMS LABORATORY

Date: 17-04-2017 Max Marks: 100


Time: 9.15 a.m to 3.15 p.m
Question Set

1. Write a C program to implement getpid system call.


2. Write a C program to implement fork system call.
3. Write a C program to implement stat system call.
4. Write a C program to implement wait system call.
5. Create a directory student and create two files into that directory named s1 and s2. Type
some contents in s1 and s2 and save the file. Copy the contents in s1 to s3 and delete s1.
Then delete all the files and directory you have created.
6. Write a C program for FCFS scheduling.
7. Write a C program for SJF scheduling.
8. Write a C program for Priority scheduling.
9. Write a C program for Round Robin scheduling.
10. Write a C program to implement sequential file allocation method.
11. Write a C program to implement linked file allocation method.
12. Write a C program to implement indexed file allocation method.
13. Write a C program to implement single level directory structure.
14. Write a C program to implement two level directory structure.
15. Write a C program to implement deadlock avoidance and prevention using banker’s
algorithm.
16. Write a C program to implement FIFO Page replacement algorithm.
17. Write a C program to implement LRU Page replacement algorithm.
18. Write a C program to implement OPTIMAL Page replacement algorithm.

INTERNAL EXAMINER EXTERNAL EXAMINER

You might also like