Assessment Questions with Comp lete Solution . What is a valid process state? ✔✔Waiting What are two valid componen ts of a process control block (PCB) ✔✔The process counter; The process state What is the difference between kernel and user threads? ✔✔Kernel threads are directly managed by the operating system, whereas user threads are managed without kernel support. Which advantage does short -term scheduling have compared with long -term scheduling? ✔✔It takes less time to select a process to execute next. What is considered stable when the average rate of process creation is equal to the average departure rate of p rocesses leaving the system? ✔✔The degree of multiprogramming Which action allows an application that is in the background to be passed to the foreground and vice versa? ✔✔Context switching What is the process of context switching? ✔✔Performing a stat e save and a state restore Which features are included in the DTrace tool? ✔✔Compiler, providers of probes, and consumers What is the difference between cooperative and preemptive scheduling? ✔✔Cooperative scheduling occurs when a process terminates, w hereas preemptive scheduling occurs when a process initiates. Which scheduling criteria measures the number of processes completed per time unit? ✔✔Throughput Which criterion attempts to keep the processor as busy as possible? ✔✔CPU utilization When d oes starvation occur in the priority scheduling algorithm? ✔✔When a process is waiting indefinitely Which scheduling algorithm was designed especially for time sharing systems? ✔✔Round -robin What is a difference between soft and hard processor affinity? ✔✔Hard affinity specifies a subset of processors on which a process may run, whereas soft affinity leaves the processor selection to the OS. What is an address that is generated by the CPU ? ✔✔A logical address Which general -purpose storage is accessed directly by the CPU? ✔✔The main memory What is a limitation of swapping on mobile systems? ✔✔Applications that fail to free up sufficient memory are terminated. What is the name of the memo ry allocation scheme where the operating system keeps a table of available holes? ✔✔Variable partition What is described as memory allocated from a fixed -size segment consisting of physically contiguous pages? ✔✔Buddy system Which memory management sol ution relocates all available memory into one variable -sized block? ✔✔Compaction What does the 50 -percent rule of memory fragmentation state when allocating additional memory using the first -fit method? ✔✔One-third of all memory may be unused.
WGU C191 Operating Systems for Programmers Pre- Assessment Questions with Complete Solution.
What is a valid process state? Waiting What are two valid components of a process control block (PCB) The process counter; The process state What is the difference between kernel and user threads? Kernel threads are directly managed by the operating system, whereas user threads are managed without kernel support. Which advantage does short-term scheduling have compared with long-term scheduling? It takes less time to select a process to execute next. What is considered stable when the average rate of process creation is equal to the average departure rate of processes leaving the system? The degree of multiprogramming Which action allows an application that is in the background to be passed to the foreground and vice versa? Context switching
Content preview
Assessment Questions with Comp lete Solution . What is a valid process state? ✔✔Waiting What are two valid componen ts of a process control block (PCB) ✔✔The process counter; The process state What is the difference between kernel and user threads? ✔✔Kernel threads are directly managed by the operating system, whereas user threads are managed without kernel support. Which advantage does short -term scheduling have compared with long -term scheduling? ✔✔It takes less time to select a process to execute next. What is considered stable when the average rate of process creation is equal to the average departure rate of p rocesses leaving the system? ✔✔The degree of multiprogramming Which action allows an application that is in the background to be passed to the foreground and vice versa? ✔✔Context switching What is the process of context switching? ✔✔Performing a stat e save and a state restore Which features are included in the DTrace tool? ✔✔Compiler, providers of probes, and consumers What is the difference between cooperative and preemptive scheduling? ✔✔Cooperative scheduling occurs when a process terminates, w hereas preemptive scheduling occurs when a process initiates. Which scheduling criteria measures the number of processes completed per time unit? ✔✔Throughput Which criterion attempts to keep the processor as busy as possible? ✔✔CPU utilization When d oes starvation occur in the priority scheduling algorithm? ✔✔When a process is waiting indefinitely Which scheduling algorithm was designed especially for time sharing systems? ✔✔Round -robin What is a difference between soft and hard processor affinity? ✔✔Hard affinity specifies a subset of processors on which a process may run, whereas soft affinity leaves the processor selection to the OS. What is an address that is generated by the CPU ? ✔✔A logical address Which general -purpose storage is accessed directly by the CPU? ✔✔The main memory What is a limitation of swapping on mobile systems? ✔✔Applications that fail to free up sufficient memory are terminated. What is the name of the memo ry allocation scheme where the operating system keeps a table of available holes? ✔✔Variable partition What is described as memory allocated from a fixed -size segment consisting of physically contiguous pages? ✔✔Buddy system Which memory management sol ution relocates all available memory into one variable -sized block? ✔✔Compaction What does the 50 -percent rule of memory fragmentation state when allocating additional memory using the first -fit method? ✔✔One-third of all memory may be unused.
Document information
- Uploaded on
- May 6, 2024
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers