-
在一个多道程序设计系统中,实现“作业调度”的模拟。模拟程序的要求如下: 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 : "
- 2022-06-01 01:27:57下载
- 积分:1
-
数据库连接方法
数据库连接方法 -Database connection methods database connection methods
- 2022-07-24 14:04:53下载
- 积分:1
-
Some RFID article, divided into 5 files of this is the first one, I hope the fie...
一些RFID的文章,分为5个文件,这是第一篇,希望对这方面的研究领域的人有所帮助
- 2022-08-16 09:54:37下载
- 积分:1
-
对IEEE 2009项目完整的标题列表
Complete titles list of ieee projects of 2009
- 2022-02-01 05:35:57下载
- 积分:1
-
ULN2003 Chinese data, the need for a friend can see.
ULN2003中文资料,需要的朋友可以看看.-ULN2003 Chinese data, the need for a friend can see.
- 2022-11-18 08:25:03下载
- 积分:1
-
Computer operating system runtime environment experiment C language environment
计算机专业的操作系统实验 运行环境 C语言环境下-Computer operating system runtime environment experiment C language environment
- 2022-09-28 19:20:03下载
- 积分:1
-
This is Exercise 6.SSD2
This Exercise 6.SSD2-This is Exercise 6.SSD2
- 2022-04-19 16:12:40下载
- 积分:1
-
用于求解matlab排序问题,求解得效率很高,比一般的方法好哦...
用于求解matlab排序问题,求解得效率很高,比一般的方法好哦-Matlab for solving the scheduling problem, to solve a highly efficient method than the average好哦
- 2022-03-24 10:10:21下载
- 积分:1
-
A simple communication documents, requests for service by writing this open with...
一个通信的简单文件,请求服务用.........用写字本打开-A simple communication documents, requests for service by writing this open with .........
- 2022-03-22 23:59:15下载
- 积分:1
-
读取文件内容并以二进制显示
读取文件内容并以二进制显示-read the contents of the documents and binary show
- 2022-04-07 03:51:17下载
- 积分:1