I need help with the 1st Phase of my Operating Systems class.
The instructions are listed below:
The first line gives you the job number and the number of lines in the job followed by the priority (comma separated). The next lines are the instructions. They are in comma separated text, you will need to parse these jobs into objects so that you can store them in your hard disk data objeect (it should be able to store all the jobs). Once you have the HDD object filled with the jobs, you will need to write a similar RAM object that holds jobs as well. You will write a Long Term Scheduler module that moves the correct jobs (according to the various algorithms) from the HDD to the RAM. The result of this Phase is the output of the contents of RAM using each of the LTS techniques (FIFO, SJF, Priority, etc.) Please submit your code and sample output to this dropbox.
Attached is the input