WGU C191 Module 2 Process Management Key Exam Guide Questions and Integral Marking Scheme version 2024/2025
9 views 1 purchase
Course
WGU C191
Institution
WGU C191
WGU C191 Module 2 Process Management Key Exam Guide Questions and Integral Marking Scheme version 2024/2025
When priority scheduling results in a process that is ready to run but waiting for the CPU - correct answer Starvation
The scheme by which a many-to-one or many-to-many system schedules...
WGU C191 Module 2 Process
Management Key Exam Guide Questions
and Integral Marking Scheme version
2024/2025
When priority scheduling results in a process that is ready to run but waiting for the CPU
- correct answer Starvation
The scheme by which a many-to-one or many-to-many system schedules user-threads -
correct answer PCS
The ____ of a process contains temporary data such as function parameters, return
addresses, and local variables. - correct answer stack
When a child process is created, which of the following is a possibility in terms of the
execution or address space of the child process? - correct answer Child process runs
concurrently with the parent/child process has a new program loaded into it/child is a
duplicate of the parent
A _________________ saves the state of the currently running process and restores
the state of the next process to run. - correct answer context switch
A blocking send() and blocking receive() is known as a(n) _________________. -
correct answer rendezvous
A(n) ______________ allows several unrelated processes to use the pipe for
communication. - correct answer named pipe
Imagine that a host with IP address 150.55.66.77 wishes to download a file from the
web server at IP address 202.28.15.123. Select a valid socket pair for a connection
between this pair of hosts. - correct answer 150.55.66.77:2000 and 202.28.15.123:80
,Child processes inherit UNIX ordinary pipes from their parent process because: -
correct answer A pipe is treated as a file descriptor and child processes inherit open
file descriptors from their parents.
The _______ process is assigned as the parent to orphan processes. - correct answer
init
____ is a thread library for Solaris that maps many user-level threads to one kernel
thread. - correct answer Green threads
Pthreads refers to ____. - correct answer a specification for thread behavior
Cancellation points are associated with ____ cancellation. - correct answer deferred
_____ is not considered a challenge when designing applications for multicore systems.
- correct answer Ensuring there is a sufficient number of cores
A ____ provides an API for creating and managing threads. - correct answer thread
library
The most common technique for writing multithreaded Java programs is _____. -
correct answer implementing the Runnable interface and defining its run() method
Grand Central Dispatch handles blocks by ____. - correct answer placing them on a
dispatch queue
An instruction that executes atomically ____. - correct answer executes as a single,
uninterruptible unit
,In Peterson's solution, the ____ variable indicates if a process is ready to enter its
critical section. - correct answer flag[i]
What is the correct order of operations for protecting a critical section using mutex
locks? - correct answer acquire() followed by release()
Assume an adaptive mutex is used for accessing shared data on a Solaris system with
multiprocessing capabilities. Which of the following statements is not true? - correct
answer Condition variables and semaphores are never used in place of an adaptive
mutex.
Which of the following statements is true? - correct answer Counting semaphores can
be used to control access to a resource with a finite number of instances.
_____ is/are not a technique for managing critical sections in operating systems. -
correct answer Peterson's solution
Which of the following statements is true? - correct answer Operations on atomic
integers do not require locking.
The OpenMP #pragma omp critical directive ___________. - correct answer behaves
much like a mutex lock
Which of the following is true of multilevel queue scheduling? - correct answer Each
queue has its own scheduling algorithm.
The Linux CFS scheduler identifies _____________ as the interval of time during which
every runnable task should run at least once. - correct answer targeted latency
______ allows a thread to run on only one processor. - correct answer Processor
affinity
, The two general approaches to load balancing are __________ and ____________. -
correct answer push migration, pull migration
Which of the following would be an acceptable signal handling scheme for a
multithreaded program? - correct answer Deliver the signal to the thread to which the
signal applies/deliver the signal to every thread in the process/deliver the signal to only
certain threads in the process
The most common secondary storage device is ____. - correct answer magnetic disk
Temporary data such as function parameters, return addresses, and local variables. -
correct answer What does a stack contain?
1. The parent continues to execute concurrently with its children.
2. The parent waits until some or all of its children have terminated.
3. The child process is a duplicate of the parent process (it has the same program and
data as the parent).
4. The child process has a new program loaded into it. - correct answer When a parent
creates a child process what are the possibilities?
Context Switch - correct answer The kernel saves the context of the old process in its
PCB and loads the saved context of the new process scheduled to run
Task control block - correct answer What is another name for the PCB (process control
block)?
Process Scheduling Queues - correct answer - job queue - all processes in a system
-ready queue - all process in main memory ready and waiting to execute
-device queues - set of processes waiting for i/o device
- penguins play w/ cool arctic melted ice
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 KieranKent55. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.99. You're not tied to anything after your purchase.