MCA36L OPERATING SYSTEM LAB

1) 2) 3) 4)

Write a program to show deleting a file Write a program to demonstrate renaming the file Graphically show the working of FCFS CPU scheduling algorithm Graphically show the working of Round Robin CPU scheduling algorithm

5)

Write a program to demonstrate dynamic memory allocation (use of malloc, calloc and realloc functions)

6)

Write a program to demonstrate paging. (Assume certain size of memory and make different pages of random sizes, show it graphically)

7) 8) 9) 10) 11)

Write a program to get and set the system date. Write a program to set and get the system time. Write a program to display the current working directory. Write a program to create a directory in the specified path. Graphically show the working of Priority based CPU scheduling algorithm

12)

Graphically show the working of Smallest Job First CPU scheduling algorithm

13) 14)

Write a program to find and list all physical drives on the system Write a program to copy data from one memory location to another location

15)

Write a program to illustrate working of system() command by taking at least 5 DOS commands

16) 17) 18) 19) 20)

Demonstrate the working of FCFS disk scheduling algorithm Demonstrate the working of SSTF disk scheduling algorithm Program to demonstrate working of Bubble sort Program to demonstrate the working binary search Program to demonstrate the working of selection sort