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
Exam (elaborations)

ITSC 3146 Test 2 Review Latest Update

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
13-06-2026
Written in
2025/2026

ITSC 3146 Test 2 Review Latest Update...

Institution
ITSC 3146
Course
ITSC 3146

Content preview

ITSC 3146 Test 2 Review Latest Update

There needs to be an ____ mechanism for data sharing among different
processes. - ANSWER explicit

The sharing mechanism is _____ for threads of the same process. - ANSWER
implicit

The bank example demonstrated that threads must not be
_________
when accessing shared data. This means that when one thread is accessing
shared data, no other thread should be allowed to
_________
that same shared data. - ANSWER interleaved, access

According to example in the video, the rules of strict alternation stipulate that
while one of the siblings is taking a turn the other sibling must ____. - ANSWER
wait

Mutual ______ is the idea that when one thread enters its critical region, the
other thread cannot enter its critical region. This is a benefit of strict alternation.
- ANSWER exclusion

Busy _____ is a drawback of strict alternation because processes waste CPU
cycles unnecessarily by repeatedly checking the turn variable. - ANSWER
waiting

In the code presented for Peterson's solution, a process will indicate that it is
leaving the critical region by setting the interested flag to FALSE in the _____
method. - ANSWER leave_region

In _________ a process does not have to wait unless another process is taking a
turn or has expressed interest in taking a turn. In Strict Alternation , on the other
hand, a process must wait until the other process has taken a turn, even if
another process is not interested in taking a turn is not taking a turn. - ANSWER
Peterson's Solution, Strict Alternation

Busy waiting uses CPU cycles because it is constantly checking or _____ the
status of critical region entry. - ANSWER polling

An alternative to busy waiting is to put the thread to

, _____
instead of having it continually poll the status of critical region entry. This
effectively blocks or suspends the thread from
_______
. - ANSWER sleep, execution

A ___ is a shared variable that can be in either a locked state or a an unlocked
state. - ANSWER mutex

With a mutex, a thread or process that wishes to enter the critical region must
invoke a ____ operation. - ANSWER lock

With a mutex, the thread_yield call means that the current thread or process
yields the ____ so another process or thread can be scheduled instead. -
ANSWER CPU

In the pthread library you would declare a variable of type ____ to create the
global mutex variable. - ANSWER pthread_mutex_t

The pthread_mutex_lock method takes a _____ to the mutex variable as the
parameter. - ANSWER pointer

In the example in the video the bank balance will always be the same no matter
how many times we run the program because we can be sure that threads are
accessing the balance variable in a ____ manner by using a mutex variable. -
ANSWER safe

Task decomposition is when multiple threads execute ______ with ______ data
whereas data decomposition is when multiple threads execute ________ with
______ data. - ANSWER different functions ,
the same,
different functions,
different

A approach in which a thread executes a function and
______
output data, which is then
_____
by another thread executing a different function is referred to as ____
______
decomposition. - ANSWER produces, consumed, data, flow

A way to facilitate
____ ____
decomposition is to use a
_____ _____

Written for

Institution
ITSC 3146
Course
ITSC 3146

Document information

Uploaded on
June 13, 2026
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$15.49
Get access to the full document:

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

Get to know the seller

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.
Zayla Liberty University
Follow You need to be logged in order to follow users or courses
Sold
114
Member since
3 year
Number of followers
13
Documents
14575
Last sold
5 days ago

3.4

17 reviews

5
5
4
3
3
5
2
2
1
2

Recently viewed by you

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