I need help with this assignment. Need to write a short program in C. Please see that attach file for jobs.
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.)