第二章作业
2.1
题目:What is the purpose of system calls?
回答:
系统调用提供操作系统服务接口。
使用户级进程请求系统服务,间接的使用硬件资源。
2.2
题目:What are the five major activities of an operating system with regard to process management?
回答:
根据教材:
在CPU上调度进程和线程
创建和删除用户进程和系统进程
挂起和重启进程
提供进程同步机制
提供进程通信机制
2.3
题目:What are the three major activities of an operating system with regard to memory management?
回答:
根据教材:
跟踪内存的哪些部分目前正在使用,哪些人在使用
决定哪些进程(或部分进程)和数据进出内存
根据需要分配和处理内存空间
2.4
题目:What are the three major activities of an operating system with regard to secondary-storage management?
回答:
根据教材:
自由空间管理
存储分配
磁盘调度
2.6