文件名称:04
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2016-05-25
- 文件大小:
- 322kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用高级语言模拟实现基本分页存储管理,要求:
1、内存空间的初始化——可以由用户输入初始内存空间各个物理块情况。(用二维矩阵的方式按物理块号,逐行给出每个物理块的状态,1——表示已分配,0——表示未分配,并能够将行标、列标转换为对应的物理块号,以查看或修改每一个块的状态,要求:初始时部分物理块已分配)
2、基本分页的分配过程:由用户输入作业号和作业的大小(这里的大小是逻辑页面数),实现分配过程:空间充足,分配,修改状态矩阵的相应位置的值(值由0转变为1),并用专门的数据记录下该作业占用的物理块的块号,以备删除作业时回收空间。
3、作业空间的的回收:用户输入作业号,实现分区回收(通过相应的数据结构找到该作业占有的物理块号,将块号转变成对应的行标、列标,将对应位置的值由1转变成0就完成了回收)
4、分区的显示:任何时刻,可以查看当前内存的情况(显示记录内存情况的矩阵的值)-Implement basic paging storage management with advanced simulation language requirements:
1, initialize the memory space- the initial physical memory blocks each case can be entered by the user. (With a two-dimensional matrix according to the physical block number, given the progressive state of each physical block 1 indicates allocation 0 represents unallocated, and the ability to mark the row, column index into the corresponding physical block number, to view or modify the state of each block is required: an initial partial physical block has been allocated)
2, the distribution process basic tab: input by a user job number, and size of the job (where the size of the logical page number), to achieve the allocation process: ample space allocation, modify the value state matrix corresponding position (a value 0 into 1), and treated with a special data record of the job occupied by the block numbers of the physical blocks of space to prepare for the recovery job is deleted.
3, the
1、内存空间的初始化——可以由用户输入初始内存空间各个物理块情况。(用二维矩阵的方式按物理块号,逐行给出每个物理块的状态,1——表示已分配,0——表示未分配,并能够将行标、列标转换为对应的物理块号,以查看或修改每一个块的状态,要求:初始时部分物理块已分配)
2、基本分页的分配过程:由用户输入作业号和作业的大小(这里的大小是逻辑页面数),实现分配过程:空间充足,分配,修改状态矩阵的相应位置的值(值由0转变为1),并用专门的数据记录下该作业占用的物理块的块号,以备删除作业时回收空间。
3、作业空间的的回收:用户输入作业号,实现分区回收(通过相应的数据结构找到该作业占有的物理块号,将块号转变成对应的行标、列标,将对应位置的值由1转变成0就完成了回收)
4、分区的显示:任何时刻,可以查看当前内存的情况(显示记录内存情况的矩阵的值)-Implement basic paging storage management with advanced simulation language requirements:
1, initialize the memory space- the initial physical memory blocks each case can be entered by the user. (With a two-dimensional matrix according to the physical block number, given the progressive state of each physical block 1 indicates allocation 0 represents unallocated, and the ability to mark the row, column index into the corresponding physical block number, to view or modify the state of each block is required: an initial partial physical block has been allocated)
2, the distribution process basic tab: input by a user job number, and size of the job (where the size of the logical page number), to achieve the allocation process: ample space allocation, modify the value state matrix corresponding position (a value 0 into 1), and treated with a special data record of the job occupied by the block numbers of the physical blocks of space to prepare for the recovery job is deleted.
3, the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
04\04.cpp
..\04.dsp
..\04.dsw
..\04.ncb
..\04.opt
..\04.plg
..\Debug\04.exe
..\.....\04.ilk
..\.....\04.obj
..\.....\04.pch
..\.....\04.pdb
..\.....\vc60.idb
..\.....\vc60.pdb
..\基本分页存储管理.doc
..\Debug
04