• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

Isu Coms 352 Final Review

Document preview thumbnail
Preview 2 out of 7 pages

ISU COMS 352 FINAL REVIEW

Content preview

ISU COMS 352 FINAL REVIEW

Critical Section - Answer -A section of code within a process that requires access to
shared resources and that must not be executed while another process is in a
corresponding section of code.

Deadlock - Answer -A situation in which two or more processes are unable to proceed
because each is waiting for one of the others to do something.

Livelock - Answer -A situation in which two or more processes continuously change
their states in response to changes in the other process(es) without doing any useful
work.

Mutual Exclusion - Answer -The requirement that when one process is in a critical
section that accesses shared resources, no other process may be in a critical section
that accesses any of those shared resources.

Race Condition - Answer -A situation in which multiple threads or processes read and
write a shared data item and the final result depends on the relative timing of their
execution.

Starvation - Answer -A situation in which a runnable process is overlooked indefinitely
by the scheduler; although it is able to proceed, it is never chosen.

Atomic operation - Answer -A function or action implemented as a sequence of one or
more instructions that appears to be indivisible; that is, no other process can see an
intermediate state or interrupt the operation. The sequence of instruction is guaranteed
to execute as a group, or not execute at all, having no visible effect on system state.
Atomicity guarantees isolation from concurrent processes.

Requirements for Mutual Exclusion - Answer -Must be enforced

A process that halts must do so without interfering with other processes

No deadlock or starvation

A process must not be denied access to a critical section when there is no other
process using it

No assumptions are made about relative process speeds or number of processes

A process remains inside its critical section for a finite time only

How to guarantee mutual exclusion - Answer -Disable interrupts.

, The efficiency could degrade, and will not work in a multiprocessor architecture.

Compare & Swap - Answer -If the values are the same a swap occurs

carried out atomically

Semaphore - Answer -Initialized to a nonnegative number

semWait decrements value

semSignal incrememts value

Synochronization - Answer -achieved by the use of condition variables that are
contained within the monitor and accessible only within the monitor.

Condition Variables are operated on by two functions: - Answer -cwait and csignal.

Frame - Answer -A fixed-length block of main memory.

Page - Answer -A fixed-length block of data that resides in secondary memory (such as
disk). A page of data may temporarily be copied into a frame of main memory.

Segment - Answer -A variable-length block of data that resides in secondary memory.
An entire segment may temporarily be copied into an available region of main memory
(segmentation) or the segment may be divided into pages which can be individually
copied into main memory (combine segmentation and paging).

Memory Management Satisfies... - Answer -Relocation
Protection
Sharing
Logical Organization
Physical Organization

Relocation - Answer -Programmers typically do not know in advance which other
programs will be resident in main memory at the time of execution of their program.

Protection - Answer -Processes need to acquire permission to reference memory
locations for reading or writing purposes.

Sharing - Answer -Advantageous to allow each process access to the same copy of the
program rather than have their own separate copy.

Logical Organization - Answer -Memory is organized as linear
Segmentation is the tool that most readily satisfies requirements

Document information

Uploaded on
October 31, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

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.
GEEKA
3.8
(380)
Sold
2252
Followers
1452
Items
64228
Last sold
18 hours 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