采用最短作业优先的抢先调度算法(Preemptive SJF)调度表2-7所示的进程,平均等待时间为 (6) 。 A.2.0B.2.4C.2.8D.3.0 相关知识点: 试题来源: 解析 C [分析] 由于采用的是最短作业优先的抢先调度算法,所以在最开始的时候,P1进程运行。在P1运行两个小时后,P2到达,P2运行的时间比P1小,所以P2运行。P2运行两...
This tutorial is for building the algorithm and the corresponding C++ program for the SJF scheduling algorithm.