Skip to content

Machine Problem 2 in Computer Science 125: Operating Systems

Notifications You must be signed in to change notification settings

rosalierazonable/CMSC125_MP2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CMSC125_MP2

Machine Problem 2 in Computer Science 125: Operating Systems

Processor Management and Job Scheduling

Implement the FCFS, SJF, SRPT, Priority and Round-robin scheduling. Sample data is in txt file.

  • For FCFS and SJF, assume all processes arrived at time 0 in that order.
  • For SRPT, consider the arrival time of each processes.
  • For Priority, assume that lower-value priorities have higher priorities (that means 0 is the highest priority).
  • For round-robin scheduling, assume a uniform time slice of 4 millisecond.

Display the waiting time for each process for every algorithm, as well as their average computing time. Also, perform an algorithm evaluation, based on the datasets given to you.

Additional Features

  • File Reading
  • Display of Gant Chart

Data Structure/s and other concepts used

  • Array List
  • Queue
  • Comparator Interface

Run Code Here:

https://replit.com/@rsraz/Process-Scheduling

About

Machine Problem 2 in Computer Science 125: Operating Systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published