Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 49 pages
Exam (elaborations)

WGU C191 Module 2 Process Management Key Exam Guide Questions and Integral Marking Scheme version 2024/2025

Document preview thumbnail
Preview 4 out of 49 pages

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 _________ involves distributing tasks across multiple computing cores. - correct answer Task parallelism 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

Content preview

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


_________ involves distributing tasks across multiple computing cores. - correct
answer Task parallelism


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

Document information

Uploaded on
October 16, 2024
Number of pages
49
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KieranKent55
3.6
(9)
Sold
43
Followers
18
Items
6490
Last sold
6 months ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions