Al3452 Set1

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

B.E / B.Tech.

PRACTICAL END SEMESTER EXAMINATIONS, APRIL/MAY 2023

Fourth Semester

AL3452 – OPERATING SYSTEMS

(Regulations 2021)

Time : 3 Hours Answer any one Question Max. Marks 100

Aim & Procedure Program Results Viva-Voce Record Total


20 40 20 10 10 100

1. I. Write a C program to implement the System Calls opendir, readdir, Fork, Getpid.

ii. Write a C program to simulate the operation of ls and grep commands in Unix.

2. i. Write the shell script to find net and gross pay.

ii. Write the shell script to find the length of the string and reverse the string.

3. Write a C program to implement priority scheduling algorithm.

4 Write a C program to implement SJF (Shortest Job First) scheduling algorithm.

5 Write a C program to perform matrix addition in child process using shared memory.

6 Write a C program to generate ODD number using shared memory.

7. Write a c program to implement C-SCAN disk scheduling algorithm

8 i. Write a shell program to find greatest of three numbers.

ii. Write a shell program to perform arithmetic operations using case.

9. Write a C program for First come first serve (FCFS) scheduling algorithm.

Page 1 of 2
10 Write a C program to implement Round Robin (RR) scheduling algorithm.

11 Write a C program to implement Producer consumer problem using Semaphores.

12 Write a C program to implement Inter process communication using pipes.

13 Write a C program to implement Deadlock avoidance by using Banker’s algorithm.

14 Write a C program to implement of Threading and Synchronization.

15 Write a C program to implement various memory allocation using first fit.

16 Write a C program to implement various memory allocation using best fit.

17. Write a C program to implement various memory allocation using worst fit.

18. Write a C program to implement FIFO (First in first out) page replacement algorithm.

19. Write a C program to implement single level directory structure.

20 Write a C program to implement Linked file allocation method.

Page 2 of 2

You might also like