操作系统 第3章
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Chapter 3 – Process Description and Control
True / False Questions:
1.T / F – The principal function of the processor is to execute machine
instructions residing in main memory.处理器的主要功能是处理驻留在主存中的指令。
ANS: T
2.T / F – A process trace is a listing of the sequence of instructions that execute
for that process.进程指令追踪就是这个进程的指令序列的列表。
ANS: T
3.T / F – The principal responsibility of the operating system is to control the
execution of processes.操作系统的主要任务是控制进程的执行。
ANS: T
4.T / F – When one process spawns another, the spawning process is referred to as
the child process and the spawned process is referred to as the parent process.当一个进程派生出另一进程时,产生进程的进程是子进程,被产生的进程是父进程。
ANS: F (opposite is true)
5.T / F – Round-Robin processing refers to a method of thread prioritization for
scheduling.轮转是一种线程优先级调度方法。
ANS: F (not prioritized)
6.T / F – The primary difference between the Two-State Process Model and the Five-
State Process Model is that the latter splits the Running state into two new
states: Ready and Blocked.两状态处理模型和五状态处理模型主要区别是后者将运行态分割成就绪和阻塞态。
ANS: F (splits the Not Running state)
7.T / F – One solution to the problem of limited main memory space is swapping,
which involves moving all or part of a process from main memory to secondary
memory. 一种解决主存空间有限的方法是交换,这种交换包括将一个进程的全部或部分从主存转移到辅存。
ANS: T
8.T / F – In order to define the control structures (e.g., tables) that the O/S
needs to manage processes and resources, it must have access to configuration data
during initialization.为了定义操作系统控制进程和资源所需要的控制结构,操作系统在初始化的时候必须拥有对设备数据的控制权。
ANS: T
9.T / F – The Process Image refers to the binary form of the program code.
进程映像指的是二进制形式的程序码。
ANS: F (refers to process elements: program, data, stack & attributes)
10.T / F – The portion of the Process Control Block that consists of the contents of
the processor registers is called the Process Control Information.进程控制块中包含处理器寄存器的部分是进程控制信息。
ANS: F (processor state information portion of the PCB contains registers)
11.T / F – The less-privileged processor execution mode is often referred to as
kernel mode.没有特权的处理器执行模式通常被叫做内核模式。
ANS: F (user mode)
12.T / F – The primary process table contains one entry per process, unless the
process spawns a new process, in which case the table contains multiple entries for the parent process. 主进程表中每个进程有一个入口,除非进程产生了子进程,这种情况下表中会有多个到父进程的入口。
ANS: F (only one entry for the parent process)
13. T / F – One kind of system interrupt, the trap, relates to an error or exception
condition in the currently running process.陷阱,一种系统中断,是涉及当前进程中的错误或异常条件。
ANS: T
14. T / F – In the Nonprocess Kernel approach to defining the relationship between
the O/S and the User Process, the O/S code is executed as a separate entity that operates in privileged mode. 采用无进程内核方法来定义操作系统和用户进程的区别:操作系统代码是作为独立的整体在特权模式下运行。
ANS: T
15. T / F – A typical UNIX system employs two Running states, to indicate whether
the process is executing in user mode or kernel mode.典型的UNIX系统采用两种运行态来表示进程是运行在用户模式还是内核模式。
ANS: T