Which of the following is the primary purpose of an Operating System (OS)?
Cambridge International A Level · Computer Science (9618)
System Software:练习题
5 道选择题即时批改,另有 4 道文字题附完整解题步骤,全部围绕「System Software」。
During the compilation process of a high-level language, the compiler first performs a stage where it removes comments and whitespace and converts the source code into a stream of tokens. What is the name of this stage?
A server with virtual memory enabled is experiencing a significant drop in performance. Monitoring shows that the hard disk activity is nearly constant, while the CPU utilization has fallen to a very low level. Which of the following best describes the cause of this situation?
A multi-tasking operating system is managing several processes. One specific management task involves the allocation of the CPU to a process in the Ready queue using a Round Robin algorithm. Which operating system management task is primarily responsible for this activity?
Consider the following Backus-Naur Form (BNF) definition for a simple mathematical expression:
<digit> ::= 0 | 1 | 2 | 3
<op> ::= + | -
<expr> ::= <digit> | <digit> <op> <expr>
Which of the following strings is NOT valid according to these rules?
State one primary purpose of an Operating System (OS) in a computer system.
先自己写一遍答案,再对照解题步骤。
Explain how the use of Dynamic Link Library (DLL) files allows an operating system to manage primary memory more efficiently when multiple applications that share common routines are executing simultaneously.
先自己写一遍答案,再对照解题步骤。
System Software
An Operating System (OS) is a fundamental component of any computer system.
(a) Explain two key purposes of an Operating System, providing an example for each.
(b) Describe how an Operating System manages processes, outlining the three main process states.
先自己写一遍答案,再对照解题步骤。
A multi-tasking operating system (OS) manages several processes simultaneously using various scheduling and memory management techniques.
(a) Describe the transition of a process from the Running state to the Blocked state, and subsequently from the Blocked state to the Ready state. Identify the specific types of events that would trigger each transition.
(b) During a context switch, the operating system must save the state of the current process so it can be resumed later. Identify two items of data, other than the process state, that would be stored in the Process Control Block (PCB) or equivalent structure to facilitate this.
(c) The operating system uses virtual memory to manage physical RAM efficiently.
(i) Distinguish between paging and segmentation by comparing how memory is divided and allocated in each method.
(ii) Explain the cause of disk thrashing and describe its impact on the CPU utilization of the computer system.
先自己写一遍答案,再对照解题步骤。
* thinka 提供的内容由 AI 生成,未必在任何情况下都完全准确或最新,请结合官方教材与教师指导使用。
想多做几道同类题目?立即开始练习这个课题,边做边批改。
立即练习