WGU C191 Operating Systems for Programmers Pre- Assessment Questions with Complete Solution.
14 views 0 purchase
Course
WGU C191
Institution
WGU C191
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 with...
WGU C191 Operating Systems for Prog rammers Pre-
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.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Rossleclair. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.58. You're not tied to anything after your purchase.