Scheduling Algorithm of OS With GUI-1DS18CS731 (Team 8)
Scheduling Algorithm of OS With GUI-1DS18CS731 (Team 8)
Submitted by
Rhuthu Hegde[1DS18CS731]
2020-2021
Department of Computer Science and Engineering,
DAYANANDA SAGAR COLLEGE OFENGINEERING
BANGALORE – 560078
1
DAYANANDA SAGAR COLLEGE OF ENGINEERING
COMPUTER SCIENCE & ENGINEERING
Minor Project- Report
Apr 2021-Jul 2021
This project aims to implement the various CPU scheduling algorithms and display a
GUI with all the algorithms, so that the user can select the algorithm which he/she
wants to execute by giving the arrival time and the process time. The user can add or
PROJECT ABSTRACT: delete the number of processes. After the calculation, a Gantt chart is displayed with
the processes, also a final table with processes, arrival time, total burst time,
completion time, turnaround time, waiting time and response time is displayed to the
user. We have used JavaScript, HTML and CSS for the project.
PLATFORM USED
A WINDOWS SYSTEM WITH 8GB RAM AND CORE i3 AND THE CODE IS EXECUTED IN
(H/W & S/W TOOLS TO
VISUAL STUDIO CODE
BE USED
2
DAYANANDA SAGAR COLLEGE OF ENGINEERING
COMPUTER SCIENCE & ENGINEERING
CPU Scheduling is a process of determining which process will own CPU for
execution while another process is on hold. A Process Scheduler schedules
different processes to be assigned to the CPU based on particular scheduling
algorithms. These algorithms are either non-preemptive or preemptive.
• Preemptive Scheduling: The tasks are mostly assigned with their
priorities.
• Non-Preemptive Scheduling: The CPU has been allocated to a specific
process.
The important terminologies are Burst Time/Execution Time, Arrival Time,
Finish Time, Multiprogramming, Jobs, User, Process, CPU/IO burst cycle.
INTRODUCTION
The Scheduling algorithm should maximise the CPU utilisation and throughput
and minimise the waiting, response and turnaround time.
There are mainly six types of process scheduling algorithms
DESIGN
3
DAYANANDA SAGAR COLLEGE OF ENGINEERING
COMPUTER SCIENCE & ENGINEERING
PROJECT SOURCE CODE https://github.com/RhuthuHegde/CPU-Scheduling-Algorithms-with-GUI
LINK (GITHUB/ GOOGLE
DRIVE)
As an enhancement feature, time log feature can be added which shows the
CONCLUSION /FUTURE
processes step by step from ready queue, waiting state, running, and also process
ENHANCEMENT
termination.
UI SCREENSHOTS
2. Edit the CPU time and IO time as optional for the individual processes.
4
DAYANANDA SAGAR COLLEGE OF ENGINEERING
COMPUTER SCIENCE & ENGINEERING
3. After calculating it displays a Gantt Chart with the processes and time taken.
4. It also displays a timeline chart which gives the duration of each process.
5
DAYANANDA SAGAR COLLEGE OF ENGINEERING
COMPUTER SCIENCE & ENGINEERING
5. A final table with names of the processes, its arrival time, total burst time,
completion time, turn around time, waiting time and response time is
displayed.