文件名称:04
-
所属分类:
- 标签属性:
- 上传时间:2016-05-24
-
文件大小:321.68kb
-
已下载: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/04.dsp
04/04.dsw
04/04.ncb
04/04.opt
04/04.plg
04/Debug/04.exe
04/Debug/04.ilk
04/Debug/04.obj
04/Debug/04.pch
04/Debug/04.pdb
04/Debug/vc60.idb
04/Debug/vc60.pdb
04/基本分页存储管理.doc
04/Debug
04
04/04.dsp
04/04.dsw
04/04.ncb
04/04.opt
04/04.plg
04/Debug/04.exe
04/Debug/04.ilk
04/Debug/04.obj
04/Debug/04.pch
04/Debug/04.pdb
04/Debug/vc60.idb
04/Debug/vc60.pdb
04/基本分页存储管理.doc
04/Debug
04
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.