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)

CSC 415 Operating System Principles Unit 05 Exam Study Guide

Rating
-
Sold
-
Pages
18
Grade
A+
Uploaded on
15-01-2026
Written in
2025/2026

CSC 415 Operating System Principles Unit 05 Exam Study Guide ...

Institution
CSC 415
Course
CSC 415

Content preview

CSC 415 Operating System Principles Unit 05
Exam Study Guide


A race condition ______.

Select one:

a. will result only if the outcome of execution does not depend on the order in which
instructions are executed

b. None of the other answers

c. results when several threads try to access the same data concurrently

d. results when several threads try to access and modify the same data concurrently -
ANSWER d. results when several threads try to access and modify the same data
concurrently




Instructions from different processes can be interleaved when interrupts are allowed.

Select one:

True

False - ANSWER True




A nonpreemptive kernel is safe from race conditions on kernel data structures.

Select one:

True

False - ANSWER True

,A solution to the critical section problem does not have to satisfy which of the following
requirements?

Select one:

a. progress

b. atomicity

c. mutual exclusion

d. bounded waiting - ANSWER b. atomicity




A(n) _______ refers to where a process is accessing/updating shared data.

Select one:

a. mutex

b. critical section

c. entry section

d. test-and-set - ANSWER b. critical section




Race conditions are prevented by requiring that critical regions be protected by locks.

Select one:

True

False - ANSWER True




Both the test_ and_set() instruction and compare_and_swap() instruction are executed

, atomically.

Select one:

True

False - ANSWER True




An instruction that executes atomically ____.




Select one:

a. cannot be used to solve the critical section problem

b. executes as a single, uninterruptible unit

c. must consist of only one machine instruction

d. All of the other answers - ANSWER b. executes as a single, uninterruptible unit




A mutex lock ____.




Select one:

a. is not guaranteed to be atomic

b. can be used to eliminate busy waiting

c. is exactly like a counting semaphore

d. is essentially a boolean variable - ANSWER d. is essentially a boolean variable

Written for

Institution
CSC 415
Course
CSC 415

Document information

Uploaded on
January 15, 2026
Number of pages
18
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$17.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
118
Member since
3 year
Number of followers
13
Documents
14920
Last sold
16 hours 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