0% found this document useful (0 votes)
26 views25 pages

Operating System - Group 2

This document describes a visual operating system scheduler project developed using Python. It allows users to input process details and simulate various CPU scheduling algorithms including First Come First Serve, Round Robin, Shortest Remaining Time Next, and Higher Priority First. The interface generates output files with scheduling metrics for analysis. Future work includes adding more algorithms, improving the GUI, and resource allocation visualization. The project code is available on GitHub.

Uploaded by

c201266
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views25 pages

Operating System - Group 2

This document describes a visual operating system scheduler project developed using Python. It allows users to input process details and simulate various CPU scheduling algorithms including First Come First Serve, Round Robin, Shortest Remaining Time Next, and Higher Priority First. The interface generates output files with scheduling metrics for analysis. Future work includes adding more algorithms, improving the GUI, and resource allocation visualization. The project code is available on GitHub.

Uploaded by

c201266
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

INTERNATIONAL ISLAMIC UNIVERSITY CHITTAGONG

Department of Computer Science & Engineering


Course Code: CSE-3632
Course Title: Operating Systems Lab

Submitted By
Lamisa Mashiat (C201249) Submitted To
Sohana Tasneem (C201266) Shefayatuj Johara Chowdhury
Assistant Lecturer
Sadia Haque Chowdhury (C201270)
Dept. of CSE,
Tahura Tasmin Chowdhury (C201272) IIUC
Nusrat Jahan (C201261)
Visual
Operating System
Scheduler
TABLE OF CONTENTS
OPENING
1 STATEMENT
INTERFACE 4

LANGUAGE & FUTURE


2 TOOLS WORK 5

SCHEDULING GITHUB
3 ALGORITHMS Link 6
Opening Statement

➔ The system we have developed is a visual representation of how an


Operating System Scheduler assigns time to each process using various CPU
scheduling algorithms.
➔ The project offers the flexibility to input custom process details, allowing
users to simulate various scenarios and analyze different sets of processes.
Additionally, the system generates an output text file that includes relevant
scheduling metrics, providing a detailed record for further analysis.
➔ Scheduler module is responsible for generating a schedule for the current
processes in the system to specify the CPU usage by these processes.
LANGUAGE & TOOLS

PyCharm is a powerful Python 3.9 was utilized as


Python IDE developed by the interpreter, Matplotlib
JetBrains, offering a library was employed for
user-friendly environment generating plots, Tkinter
and advanced features for facilitated the creation of a
efficient coding, debugging, GUI and the numpy package
and project management. was utilized as well.
SCHEDULING ALGORITHMS

First Come First Serve ( FCFS )


1 A non-preemptive scheduling algorithm

Round Robin ( RR )
2 Preemptive scheduling with fixed time quantum

Shortest Remaining Time Next ( SRTN )


3 Selects process with the shortest remaining burst time

Higher Priority First ( HPF )


4 A priority-based, non-preemptive scheduling algorithm
INTERFACE
INTERFACE
INTERFACE _Input File Format

● The first line contains number of


process
● After that for each line, first digit of
the line represents Process ID, and
the remaining digits are for Arrival
Time, Running Time & Priority
respectively.
INTERFACE _FCFS
INTERFACE _FCFS_Context Switching
INTERFACE _FCFS Output File
INTERFACE _HPF
INTERFACE _HPF_Context Switching
INTERFACE _HPF Output File
INTERFACE _RR
INTERFACE _RR_Context Switching
INTERFACE _RR Output File
INTERFACE _SRTN
INTERFACE _SRTN_Context Switching
INTERFACE _SRTN Output File
Future Work

Addition Real Time


of more Visualization
Scheduling
Algorithm
Update More Resource
GUI Comprehensive Allocation
Analysis Graph
GitHub Link

https://github.com/osteam3/Visual-OS-Scheduler-with-Python
References

[1] https://www.researchgate.net/publication/351330519_A_Review_on_the_CPU_Scheduling_Algo
rithms_Comparative_Study

[2] https://afteracademy.com/blog/process-scheduling-algorithms-in-the-operating-system/

[3] https://www.grin.com/document/267035

[4] https://www.scaler.com/topics/operating-system/scheduling-algorithms-in-os/

[5] https://quescol.com/operating-system/goal-of-cpu-scheduling-algorithm
Thank
You!

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy