README
DSC-08: Operating System - Practicals
Welcome to the collection of practical assignments for the Operating System course. This repository contains implementations in C++, Python, and Rust.
📅 List of Practical
📅 In Linux
- Execute various LINUX commands for:
1. Information Maintenance: wc, clear, cal, who, date, pwd
2. File Management: cat, cp, rm, mv, cmp, comm, diff, find, grep, awk
3. Directory Management: cd, mkdir, rmdir, ls
- Execute various LINUX commands for:
1. Process Control: fork, getpid, ps, kill, sleep
2. Communication: Input-output redirection, Pipe
3. Protection Management: chmod, chown, chgrp
📅 In C++
- Execute various LINUX commands for:
1. Process Control: fork, getpid, ps, kill, sleep
2. Communication: Input-output redirection, Pipe
3. Protection Management: chmod, chown, chgrp
- Write a program (using fork () and/or exec () commands) where parent and child execute:
1. same program, same code.
2. same program, different code.
3. 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 CPU information.
- Write a program to report behaviour of Linux kernel including information on configured memory, amount of free and used memory.
- Write a program to copy files using system calls.
- Write a program to implement FCFS scheduling algorithm.
- Write a program to implement SJF scheduling algorithm.
- Write a program to implement non-preemptive priority-based scheduling algorithm.
- Write a program to implement SRTF scheduling algorithm.
- Write a program to calculate sum of n numbers using Pthreads. A list of n numbers is divided into two smaller list of equal size, two separate threads are used to sum the sub lists.
- Write a program to implement first-fit, best-fit and worst-fit allocation strategies.
- Write a program to implement Round Robin scheduling algorithm.
📅 In Python
- Write a program (using fork () and/or exec () commands) where parent and child execute:
1. same program, same code.
2. same program, different code.
3. 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 CPU information.
- Write a program to report behaviour of Linux kernel including information on configured memory, amount of free and used memory.
- Write a program to copy files using system calls.
- Write a program to implement FCFS scheduling algorithm.
- Write a program to implement SJF scheduling algorithm.
- Write a program to implement non-preemptive priority-based scheduling algorithm.
- Write a program to implement SRTF scheduling algorithm.
- Write a program to calculate sum of n numbers using Pthreads. A list of n numbers is divided into two smaller list of equal size, two separate threads are used to sum the sub lists.
- Write a program to implement first-fit, best-fit and worst-fit allocation strategies.
- Write a program to implement Round Robin scheduling algorithm.
📅 In Rust
- Write a program (using fork () and/or exec () commands) where parent and child execute:
1. same program, same code.
2. same program, different code.
3. 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 CPU information.
- Write a program to report behaviour of Linux kernel including information on configured memory, amount of free and used memory.
- Write a program to copy files using system calls.
- Write a program to implement FCFS scheduling algorithm.
- Write a program to implement SJF scheduling algorithm.
- Write a program to implement non-preemptive priority-based scheduling algorithm.
- Write a program to implement SRTF scheduling algorithm.
- Write a program to calculate sum of n numbers using Pthreads. A list of n numbers is divided into two smaller list of equal size, two separate threads are used to sum the sub lists.
- Write a program to implement first-fit, best-fit and worst-fit allocation strategies.
- Write a program to implement Round Robin scheduling algorithm.
<p align="right">
<i>Developed with ❤️ by <a href="https://github.com/16ratneshkumar">16ratneshkumar</a></i>
</p>