-
bao
多级反馈队列进程调度算法
1. 实验目的:
用高级语言编写和调试一个进程调度程序,以加深对进程的概念及进程调度算法的理解。
2. 实验内容:
编写一个模拟程序,完成单处理机系统中的进程调度,采用多级反馈队列的时间片轮转调度算法.
实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式,确定相关参数(如进程数、到达时间、服务时间、时间片大小等) 然后完成进程创建原语、进程调度原语和进程撤销原语 最后编写主函数,上机实验并取得结果数据。
(The process of multi-level feedback queue scheduling algorithm 1. Experimental Objective: To use advanced language writing and debugging a process scheduler in order to deepen their understanding of the concept of the process and understanding the process of scheduling algorithm. 2. Experimental contents: the preparation of a simulated procedure, single-processor systems to complete the process of scheduling, the use of multi-level feedback queue scheduling algorithm Round-Robin Time Slice. Experiments include: First of all, the process control block to determine the content, process control block of the composition determine the relevant parameters (such as the process of the number of arrival time, service time, time slice size, etc.) and then complete the process of creating the original language, the process of scheduling the original language and the process of revocation of the original language the final preparation of the main function of the machine and obtain the results of)
- 2009-05-06 22:58:08下载
- 积分:1
-
B06040324_B2
模拟电信计费系统的设计与实现
要求:(1) 计费功能。根据存放在源数据文件中的通话记录和长途费率文件对每一条通话记录计算其通话费用,并将结果保存在费用文件中。其中:
通话费的计算方法如下:
通话费=长途电话费+本地电话费
长途电话费=费率(元/分钟)×通话时长(分钟)
(通话时长不满1分钟的按1分钟计算)
本地电话费为:3分钟以内0.5元,以后每3分钟递增0.2元。
(2) 话费查询。输入一个电话号码,从费用文件中统计该电话号码的所有本地话费、长途话费,并从用户文件中查找其用户名,最后在屏幕上显示:
用户名 电话号码 本地话费 长途话费 话费总计
(3) 话单查询。输入一个电话号码,查询并在屏幕显示该用户的所有通话记录,格式为:
用户名 主叫电话号码 被叫电话号码 通话时长
(Design and implementation of simulation of telecommunication billing system
Requirements: (1) the charging function. According to the calculation of the call charges stored in the source data file in the call records and the long rate documents for each call record, and save the results in cost file. Among them:
The following conversation method to calculate the fee:
Long distance telephone calls =+ local telephone fee
Long distance telephone fee = rate (yuan/minute)* call time (minutes)
(call time less than 1 minutes to 1 minutes)
Local call: 3 minutes 0.5 yuan, increasing 0.2 yuan every 3 minutes later.
(2) calls inquiries. Enter a phone number, all local calls, long-distance calls statistics the phone number from the cost in the file, and find the user name from user file, and finally displayed on the screen:
The user name phone number local calls long distance charges charges totaling
(3) if a single query. Enter a phone number, query and display all the call records of th)
- 2013-09-25 05:53:29下载
- 积分:1
-
TypicalListCtrl
CListCtrl类,可以改变表头的高度,也可以改变表的格式(CListCtrl class, you can change the header height, you can change the format of the table)
- 2010-01-29 18:06:23下载
- 积分:1
-
wirelss_communicattion
可以实现无线通信,代码简单便于理解,是基于wince平台的(Wireless communications can be achieved, the code simple and easy to understand, is based on the wince platform)
- 2008-12-29 20:53:26下载
- 积分:1
-
FetchAndSaveIcon
提取并保存应用程序图标。本代码实现了从其他应用程序中提取其应用程序图标的功能!(Extract and save the application icon. The code from other applications to extract the application icon of its features!)
- 2009-04-13 10:18:25下载
- 积分:1
-
CE5.61
Ce5.61 源码 visual Basic(Ce5.61 source visual Basic)
- 2010-12-31 13:15:43下载
- 积分:1
-
daoyoutu
C++实现校园导游系统。包括景点描述,增加、修改、删除等功能,计算最短路径、最佳路径等(C++ campus tour guide system. Of Attraction Description, increase, modify, delete, etc., to calculate the shortest path, the best path)
- 2013-05-21 17:13:12下载
- 积分:1
-
LiveZilla_3.1.8.6
免注册QQ/MSN号码,直接在网页上聊天/通话/视频,最佳在线客服.(Live Support)
- 2010-05-18 17:35:55下载
- 积分:1
-
MFC-Skill
MFC使用的一些小技巧,较为实用,可解决一些小问题(some MFC skill)
- 2016-11-11 00:22:23下载
- 积分:1
-
CPPCAR
本文件是在VISUAL C++环境下开发的汽车货运管理系统,感兴趣的可下载。(This document is in the VISUAL C++ development environment trucking management system, interest can be downloaded.)
- 2015-03-12 22:27:23下载
- 积分:1