You are on page 1of 3

ANNA UNIVERSITY COIMBATORE

PRACTICAL EXAMINATIONS, MAY 2009


COLLEGE

: 303, INSTITUTE OF ROAD AND TRANSPORT


TECHNOLOGY, ERODE-638316
SUBJECT CODE WITH TITLE: OPERATING SYSTEM LAB
DATE OF EXAMINATION
: 01-06-09
DURATION
: 3 Hrs
MAXIMUM MARKS
: 100

QUESTION PAPER
1. i) Implement the shell Program to count the frequency of occurrence of words in a file.
ii) Write and implement the C program to display contents of a file.
2. i) Implement the shell Program to count the frequency of occurrence of words in a file.
ii) Write and implement the C program to copy files using I/O system calls.

3. i) Write and implement a C program to implement grep (display lines matching a pattern in a
file) command.
ii) Write and implement a C program to Display filename and size.
4. Write and implement a C program for process management for various situations.

5. i) Write and implement a C program to Display filename and size.


ii) Write and implement the C program to display contents of a file.
6. i) Write and implement a C program for FCFS job scheduling.

ii) Write and implement a C program for Priority job scheduling.


7. i)Write and implement a C program for SJF job scheduling.
ii) Write and implement a C program for ROUND ROBBIN job scheduling.
8. Write and implement a C program for producer - consumer problem.

9. Write and implement a C program for first fit memory management.


10.

Write and implement a C program for Best fit method.

11.

Write and implement a C program for Worst fit method.

INTERNAL EXAMINER

EXTERNAL EXAMINER

i) Implement the shell Program to count the frequency of occurrence of words in a file.
ii) Write and implement the C program to display contents of a file.

i) Implement the shell Program to count the frequency of occurrence of words in a file.
ii) Write and implement the C program to copy files using I/O system calls.

i) Write and implement a C program to implement grep (display lines matching a pattern in a file)
command.
ii) Write and implement a C program to Display filename and size.

Write and implement a C program for process management for various situations.

i) Write and implement a C program to Display filename and size.

ii) Write and implement the C program to display contents of a file.

i) Write and implement a C program for FCFS job scheduling.


ii) Write and implement a C program for Priority job scheduling.

i)Write and implement a C program for SJF job scheduling.


ii) Write and implement a C program for ROUND ROBBIN job scheduling.

Write and implement a C program for producer - consumer problem.

Write and implement a C program for first fit memory management.

Write and implement a C program for Best fit method.

Write and implement a C program for Worst fit method