This website is designed to provide complete information to what is an operating system and what are the different algorithms that supports the operating system. It was originally designed by our super seniors (Page Replacement algorithm) and is further developed by our seniors (Disk Scheduling algorithm) and us (CPU Scheduling algorithm) and is going to be developed by our juniors (Concurrency and deadlock) in the probable future. The home page of the website shows what actually an operating system is and a video depicting the same. Further links and directions are provided in the UI itself.
The content map of the website is as follows:
- Page replacement algorithm
- FIFO
- LIFO
- LRU
- OPTIMAL
- RANDOM
- BELADY
- Disk scheduling algorithm
- FCFS
- SSTF
- SCAN
- C-SCAN
- LOOK
- C-LOOK
- CPU scheduling algorithm
- FCFS
- SJF
- SRJF(preemptive)
- Round Robin
- Priority
- Concurrency and Deadlock YET TO BE IMPLEMENTED...
- Go to link - https://github.com/Atri10/osvirtuallab
- Click on the green drop down button named 'Code'
- Now click on the 'Download ZIP' to download the zip file of the full code on your machine.
- Extract the downloaded file on your desired location.
- Run the 'index' file to open the home page of the website on your selected browser. You can now take a tour of the website there itself.
- To find the html files of our (CPU Scheduling) algorithm, go to 'CPU_Scheduling' folder in the main extracted folder.
- To find all the css and js files, go to 'Assets' folder and further inside 'css' and 'js' folders respectively in the main extracted folder.
- FCFS: First Come First Serve is the full form of FCFS whihc is the easiest and most simple CPU scheduling algorithm. Implementing and getting results: Go to 'CPU scheduler-FCFS' by scrolling down on FCFS page. Enter comma separated valid input values for arrival time and burst time to get the full results in the tabular as well as graphical form. Location of HTML file: osvirtuallab-master/CPU_Scheduling/FCFS_CPU Location of JS file: osvirtuallab-master/Assets/js/CPU_FCFS
- SJF: The shortest job first(SJF) scheduling is an algorithm which, in simple words, means that the shortest job gets executed first. Implementing and getting results: Go to 'CPU scheduler-SJF' by scrolling down on SJF page. Enter comma separated valid input values for arrival time and burst time to get the full results in the tabular as well as graphical form. Location of HTML file: osvirtuallab-master/CPU_Scheduling/SJF_CPU Location of JS file: osvirtuallab-master/Assets/js/CPU_SJF
- SRJF: The Shortest Remaining Time First (SRTF) scheduling algorithm, the process with the smallest amount of time remaining until completion is selected to execute. Implementing and getting results: Go to 'CPU scheduler-SRJF' by scrolling down on SRJF page. Enter comma separated valid input values for arrival time and burst time to get the full results in the tabular as well as graphical form. Location of HTML file: osvirtuallab-master/CPU_Scheduling/SRJF_CPU Location of JS file: osvirtuallab-master/Assets/js/CPU_SRJF
- Round Robin: Round Robin is the oldest, simplest scheduling algorithm, which is mostly used for multitasking. Implementing and getting results: Go to 'CPU scheduler-Round Robin' by scrolling down on Round Robin page. Enter comma separated valid input values for burst time and time quantum to get the full results in the tabular as well as graphical form. Location of HTML file: osvirtuallab-master/CPU_Scheduling/RoundRobin_CPU Location of JS file: osvirtuallab-master/Assets/js/CPU_RR
- Priority scheduling: Priority Scheduling is a method of scheduling processes that is based on priority. Implementing and getting results: Go to 'CPU scheduler-Priority schduling' by scrolling down on Priority scheduling page. Enter comma separated valid input values for burst time, arrival time and priority to get the full results in the tabular as well as graphical form. Location of HTML file: osvirtuallab-master/CPU_Scheduling/Priority_CPU Location of JS file: osvirtuallab-master/Assets/js/CPU_Priority
Comparison between algorithms (CPU scheduling) step-by-step: Step-1: Click on 'Compare' button in the nav bar. Step-2: Enter comma separated valid input values for arrival time, burst time, priority and time quantum to get comparison of all 5 algorithms on basis of avg turn around time and avg waiting time in tabular as well as graphical form.
Technologies used:
- Front-end: HTML, CSS, Bootstrap
- Back-end: Javascript
Code editor used for implementing CPU_Scheduling algorithm: VS Code
- Darshan Patel
- Kunal Kataria
- Neel Yadav
- Aashil Shah
- Hansal Shah
- Jainil Patel
- Divyansh Mahida
- Divyansh Jain
- Rushabh Shah
- Atri Patel
- Harsh Godhani
- Jenil Kundaliya
- Jay Panchal
- Kunj Manavadariya
- Harsh Makadiya