This repository holds the practiclas of Operating System.
All the practicles are either in C
or C++
language.
- WRITE A PROGRAM (using fork() and/or exec() commands) where parent and child execute:
a. same program, same code.
b. same program, different code.
c. before terminating, the parent waits for the child to finish its task. - WRITE A PROGRAM to report behaviour of Linux kernel including kernel version, CPU type and model. (CPU information)
- WRITE A PROGRAM to report behaviour of Linux kernel including information on configured memory, amount of free and used memory. (memory information)
- WRITE A PROGRAM to print file details including owner access permissions, file access time, where file name is given as argument.
- WRITE A PROGRAM to copy files using system calls.
- Write program to implement FCFS scheduling algorithm.
- Write program to implement Round Robin scheduling algorithm.
- Write program to implement SJF scheduling algorithm.
- Write program to implement non-preemptive priority based scheduling algorithm.
- Write program to implement preemptive priority based scheduling algorithm.
- Write program to implement SRJF scheduling algorithm.
- Write program to calculate sum of n numbers using thread library.
- Write a program to implement first-fit, best-fit and worst-fit allocation strategies.