(完整word版)广工操作系统实验报告.pdf
《(完整word版)广工操作系统实验报告.pdf》由会员分享,可在线阅读,更多相关《(完整word版)广工操作系统实验报告.pdf(32页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、-1-操作系统实验报告学生学院 _ 计算机学院 _ 专业班级 _ 计科(8)班学号学生姓名 _ _ 指导教师 _ _ 2013 年12 月 29 日-2-文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B
2、10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 H
3、Q7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6
4、W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 Z
5、J3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C1
6、0N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文
7、档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3-3-目录1
8、实验一进程调度5 2 实验二作业调度9 3 实验三可变式分区分配18 4 实验四简单文件系统26 文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C
9、3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:
10、CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K
11、7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1
12、 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4
13、E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7
14、 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3-4-文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ
15、3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10
16、N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档
17、编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4
18、I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B1
19、0X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ
20、7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W
21、6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3-5-实验一进程调度一、实验目的编写并调试一个模拟的进程调度程序,采用“短进程优先”调度算法对五个进程进行调度。以加深对进程的概念及进程调度算法的理解二、实验内容及要求编写并调试一个模拟的进程调度程序,采用“短进程优先”调度算法对五
22、个进程进行调度。三、实验设计方案及原理在多道程序系统中,一个作业被提交后必须经过处理机调度后,方能获得处理机执行。对调度的处理又都可采用不同的调度方式和调度算法。调度算法是指:根据系统的资源分配策略所规定的资源分配算法。短进程优先调度算法是指对短进程优先调度的算法,它是从后备队列中选择一个或者若干个进程,将处理机分配给它,使它立即执行并一直执行到完成,或发生某事件而被阻塞放弃处理机时再重新调度。四、重要数据结构或源程序中疑难部分的说明,需附详细注释#include stdio.h#include#include#define getpch(type)(type*)malloc(sizeof(t
23、ype)#define NULL0 struct pcb /*定义进程控制块PCB*/char name10;/进程名char state;/状态int super;/优先数int ntime;/需要运行时间int rtime;/运行时间struct pcb*link;*ready=NULL,*p;typedef struct pcb PCB;int num;sort()/*建立对进程进行短进程优先排列函数*/PCB*first,*second;int insert=0;if(ready=NULL)|(p-ntime)ntime)/*需要运行时间最小者,插入队首*/p-link=ready;r
24、eady=p;else/*进程比较需要运行时间,插入适当的位置中*/文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B1
25、0X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ7B4E6W6L7 ZJ3Q9C10N6C3文档编码:CY4I5K7B10X1 HQ
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 完整 word 操作系统 实验 报告
限制150内