0% found this document useful (0 votes)
5 views2 pages

SJF Algorithm Implementation Guide

The document provides instructions to program a shortest job first (SJF) scheduling algorithm by writing code in the srtf.cpp file using process data structures defined in common.h, and compiling the program with a makefile that will also use the main function in main.cpp to test the algorithm.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

SJF Algorithm Implementation Guide

The document provides instructions to program a shortest job first (SJF) scheduling algorithm by writing code in the srtf.cpp file using process data structures defined in common.h, and compiling the program with a makefile that will also use the main function in main.cpp to test the algorithm.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Chapter 2 practice

PROGRAM THE SJF ALGORITHM


Given the following common.h file

Write the solution in [Link] file so that the program can be compiled via the following makefile

The testcase is already given in the [Link] file


2

You might also like