登录
首页 » 文件格式 » 在一个多道程序设计系统中,实现“作业调度”的模拟。模拟程序的要求如下: 1.输入: 作业流文件,其中存储的是一系列待执行的作业信息,每个作业包括五个数据项:作业...

在一个多道程序设计系统中,实现“作业调度”的模拟。模拟程序的要求如下: 1.输入: 作业流文件,其中存储的是一系列待执行的作业信息,每个作业包括五个数据项:作业...

于 2022-06-01 发布 文件大小:2.92 kB
0 251
下载积分: 2 下载次数: 1

代码说明:

在一个多道程序设计系统中,实现“作业调度”的模拟。模拟程序的要求如下: 1.输入: 作业流文件,其中存储的是一系列待执行的作业信息,每个作业包括五个数据项:作业号,优先级,进入输入井时间(用一个整数表示,如10:10表示为1010),作业估计运行时间(单位:分钟),内存需求量。各数据项用空格隔开。 2.输出: 按照作业调度次序输出每一个作业流文件:“作业号”、“进入内存时间”、“作业完成时间”、“周转时间”;每行输出一个作业的信息。 计算出平均周转时间并输出。 3.作业调度算法: 短作业优先(作业估计运行时间最短的作业首先被调度)。 4.处理要求: 在两道环境下有多个作业; 程序运行时,首先提示输入测试文件的文件名; 输入文件名后,程序将读入文件中的有关数据,并按照最短作业优先调度算法对作业进行调度,作业被调度运行后不再退出(忽略进程调度或者可以认为进程调度采用的是先来先服务调度算法); 假设内存容量为100K,存储管理方案为可变分区方式,且不允许在内存中移动作业。 -in a multi-program design system, and achieving a "Dispatch" the simulation. The simulation procedure is as follows : 1. Input : Job Flow document, which is stored in a series of operations to be implemented information, including five each operating data : the operations, priority, time to enter the input shaft (with an integer, as expressed to 10:10 1010), is estimated to run time (unit : minutes), the memory demand. The data item separated by a space. 2. Output : In accordance with the scheduling order of output per work- a document : "

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 可做课程设计参考使用
    可做课程设计参考使用-do curriculum design reference
    2022-02-06 22:56:11下载
    积分:1
  • DELPHI压缩软(初级)
    利用DELPHI开发的Windows环境下的压缩工具,借助命令行的RAR实现自己的文件压缩,适合初级用户参考。编译可做为自己个性化的压缩工具。
    2023-04-23 11:55:03下载
    积分:1
  • An IEEE 802.16 system, the MAC layer based on the reserved resource scheduling m...
    提出了一种IEEE 802.16系统中基于预留的MAC层资源调度方法,可以有效的解决IEEE802.16系统中 高优先级业务过多占用优先级业务带宽而带来的不公平性问题。仿真结果表明,与原有资源调度算法相比,这种 算法能够在满足各种业务对QoS要求的同时,具有更好的公平性和更高的带宽利用率。 -An IEEE 802.16 system, the MAC layer based on the reserved resource scheduling method can effectively solve the IEEE802.16 system of high-priority business occupy too much bandwidth priority business brought about by the issue of unfairness. The simulation results show that the original resource scheduling algorithms, this algorithm can meet a variety of business on the QoS requirements at the same time, has better fairness and higher bandwidth utilization.
    2022-09-01 09:30:03下载
    积分:1
  • 《毕业论宝典》这是一本写论很好的书籍,有着详细的介绍。...
    《毕业论文宝典》这是一本写论文很好的书籍,有着详细的格式介绍。-"dissertation book" This is a very good paper written books, the detailed format is introduced.
    2023-05-16 07:05:03下载
    积分:1
  • 计算分形维数的计盒算法,用于边长相等的图像的算法
    计算分形维数的计盒算法,用于边长相等的图像的算法-Calculation of fractal dimension of the box algorithms for the edge of the image appearance, such as the algorithm
    2022-01-26 03:10:53下载
    积分:1
  • Users can choose different access permissions. When access to the system adminis...
    用户可选择不同权限进入系统。当以管理员权限进入系统时,可进行相应的成绩添加,查询,删除,修改,用户添加删除等功能,当以学生权限进入系统时,则只能进行成绩查询和密码修改等功能-Users can choose different access permissions. When access to the system administrator can add to the corresponding results, query, delete, modify, delete users and other functions, when the rights of students to enter the system, the results can only query and modify features such as password
    2022-04-11 18:29:06下载
    积分:1
  • 自编的8皇后问题的C++编写程序,含递归调用
    自编的8皇后问题的C++编写程序,含递归调用-8 queens problem C++ programming, including recursive calls
    2022-06-26 13:12:28下载
    积分:1
  • 是一个PPT,其中为我们介绍了PCM编码的基本过程
    本文是一个PPT文件,其中为我们介绍了PCM编码的基本过程-This article is a PPT file, which we introduced the basic process of PCM coding
    2023-06-18 22:45:03下载
    积分:1
  • This is just to activate my account
    This just to activate my account-This is just to activate my account
    2022-06-11 12:35:25下载
    积分:1
  • Color TFT
    Color TFT-LCD Module LQ6BW506 (Car Navigation) - Color TFT-LCD Module LQ6BW506 (Car Navigation)
    2023-04-12 22:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载