文件名称:OSexperience7
介绍说明--下载内容均来自于网络,请自行研究使用
设计程序模拟内存的动态分区法存储管理。
内存空闲区使用自由链管理,采用最坏适应算法从自由链中寻找空闲区进行分配。
假定系统的内存共640K,初始状态为操作系统本身占用64K。
t1时间后,有作业A、B、C、D分别请求8K、16K、64K、124K的内存空间;
t2时间后,作业C完成;
t3时间后,作业E请求50K的内存空间;
t4时间后,作业D完成。
要求编程序分别输出t1、t2、t3、t4时刻内存的空闲区的状态。
-Design program to simulate the dynamic partitioning method of memory storage management. Free area of memory using free-chain management, using the worst-fit algorithm to find the chain from the free distribution of free area. Assuming a total system memory 640K, the initial state for the operating system itself takes 64K. t1 time, there are jobs A, B, C, D, respectively, request 8K, 16K, 64K, 124K of memory space t2 time, the job completed C t3 time, the operation E requests 50K of memory space t4 time, D operation complete. Requirements were programmed output t1, t2, t3, t4 time of memory free zone status.
内存空闲区使用自由链管理,采用最坏适应算法从自由链中寻找空闲区进行分配。
假定系统的内存共640K,初始状态为操作系统本身占用64K。
t1时间后,有作业A、B、C、D分别请求8K、16K、64K、124K的内存空间;
t2时间后,作业C完成;
t3时间后,作业E请求50K的内存空间;
t4时间后,作业D完成。
要求编程序分别输出t1、t2、t3、t4时刻内存的空闲区的状态。
-Design program to simulate the dynamic partitioning method of memory storage management. Free area of memory using free-chain management, using the worst-fit algorithm to find the chain from the free distribution of free area. Assuming a total system memory 640K, the initial state for the operating system itself takes 64K. t1 time, there are jobs A, B, C, D, respectively, request 8K, 16K, 64K, 124K of memory space t2 time, the job completed C t3 time, the operation E requests 50K of memory space t4 time, D operation complete. Requirements were programmed output t1, t2, t3, t4 time of memory free zone status.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
OSexperience7.cpp