作业帮 > 英语 > 作业

计算机导论作业两题,.A computer has a monoprogramming operating system

来源:学生作业帮 编辑:搜搜考试网作业帮 分类:英语作业 时间:2024/06/05 01:42:08
计算机导论作业两题,
.A computer has a monoprogramming operating system.If the size of memory is 64 MB and the residing operating system needs 4 MB ,what is the maximum size of a program that can be run by this computer?
An operating system uses 0 virtual memory but requires the whole program to be in physical memory during execution (no paging or segmentation).The size of physical memory is 100 MB.The size of virtual memory is 1 GB.How many programs of size 10 MB can be run concurrently by this operating system?How many of them can be in memory at any time?How many of the must be on disk?
计算机导论作业两题,.A computer has a monoprogramming operating system
1. 不考虑虚存,则为64-4=60(MB).
若考虑虚存,则不受此限制.
解释:操作系统是单道程序方式,内存64MB,操作系统驻留占4MB,可以运行的最大程序是多大?
2. 无虚存.若是单道程序方式,则同时只能运行一个程序.
若可同时运行多道程序,则要看操作系统占了多少内存,假设小于10MB,则可同时运行9个(每个10MB,共90MB,加操作系统所占内存,不大于100MB).
它们都是同时在内存的,而不是在磁盘(虚拟缓存上),因为无分页或分段.