Back

README

DSC-08: Operating System - Practicals

Course

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

  1. 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

  1. 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++

  1. 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

  1. 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.

  1. Write a program to report behaviour of Linux kernel including kernel version, CPU type and CPU information.
  2. Write a program to report behaviour of Linux kernel including information on configured memory, amount of free and used memory.
  3. Write a program to copy files using system calls.
  4. Write a program to implement FCFS scheduling algorithm.
  5. Write a program to implement SJF scheduling algorithm.
  6. Write a program to implement non-preemptive priority-based scheduling algorithm.
  7. Write a program to implement SRTF scheduling algorithm.
  8. 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.
  9. Write a program to implement first-fit, best-fit and worst-fit allocation strategies.
  10. Write a program to implement Round Robin scheduling algorithm.

📅 In Python

  1. 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.

  1. Write a program to report behaviour of Linux kernel including kernel version, CPU type and CPU information.
  2. Write a program to report behaviour of Linux kernel including information on configured memory, amount of free and used memory.
  3. Write a program to copy files using system calls.
  4. Write a program to implement FCFS scheduling algorithm.
  5. Write a program to implement SJF scheduling algorithm.
  6. Write a program to implement non-preemptive priority-based scheduling algorithm.
  7. Write a program to implement SRTF scheduling algorithm.
  8. 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.
  9. Write a program to implement first-fit, best-fit and worst-fit allocation strategies.
  10. Write a program to implement Round Robin scheduling algorithm.

📅 In Rust

  1. 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.

  1. Write a program to report behaviour of Linux kernel including kernel version, CPU type and CPU information.
  2. Write a program to report behaviour of Linux kernel including information on configured memory, amount of free and used memory.
  3. Write a program to copy files using system calls.
  4. Write a program to implement FCFS scheduling algorithm.
  5. Write a program to implement SJF scheduling algorithm.
  6. Write a program to implement non-preemptive priority-based scheduling algorithm.
  7. Write a program to implement SRTF scheduling algorithm.
  8. 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.
  9. Write a program to implement first-fit, best-fit and worst-fit allocation strategies.
  10. 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>