Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

OPER 3600 EXAM 3 QUESTIONS WITH CORRECT ANSWERS.pdf

Beoordeling
-
Verkocht
-
Pagina's
8
Cijfer
A+
Geüpload op
17-08-2025
Geschreven in
2025/2026

OPER 3600 EXAM 3 QUESTIONS WITH CORRECT ANSWERS.pdf

Instelling
OPER 3600
Vak
OPER 3600

Voorbeeld van de inhoud

OPER 3600 EXAM 3 QUESTIONS WITH
CORRECT ANSWERS!!
What is a semaphore?

-this is a integer value used for signaling among processes.

What is the difference between a general semaphore and a binary Semaphore?

-A general semaphore can be initialized to a positive integer value. A binary semaphore can only

be initialized to 0 or 1.

-With a general semaphore, the semWait decrements the semaphore value until it becomes

negative. In binary Semaphore, there is no decrement but a simple continue or no continue based

on the value (0 or 1).

What is the problem with weak semaphores?

-it doesn't specify the order in which processes are removed from the queue. Weak semaphores

often lead to starvation.

Why do the SemWait and SemSignal operations have to be atomic?

-because the semaphore variable can only be altered by these two operations, and them being

atomic means they are GUARANTEED to execute.

What is data coherence?

-its where there is uniformity among shared resources of a processes data.

Mutex

-very similar to binary semaphore, except it must be unlocked by the same process that locked it.

, Condition Variable

-a data type that is used to block a process or thread until a condition is met

Monitor

-an abstract data type that encapsulates variables, access procedures and initialization code all

into an abstract data type. Similar to semaphore.

Event Flags

-a memory word used as a synchronization mechanism. It involves a thread checking a flag for

certain bits, and it will be blocked until all the required bits are set to AND or until at least one

bit is set to OR.

Mailbox/Messages

-a way for two processes to exchange info to use for synchronization

Spinlocks

-a mutual exclusion method in which a process goes in an infinite loop waiting for the value of a

lock variable to indicate availability.

Problem/Disadvantage of message passing in regards to the two primitives of send and

receive

-they both rely heavily on synchronization. If there isn't this then it wont work. Among many

processes this can be an issue.

What conditions must be satisfied for the Readers/Writers problem?

Geschreven voor

Instelling
OPER 3600
Vak
OPER 3600

Documentinformatie

Geüpload op
17 augustus 2025
Aantal pagina's
8
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$13.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
KenAli West Virginia University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
94
Lid sinds
1 jaar
Aantal volgers
5
Documenten
17546
Laatst verkocht
1 dag geleden

2.6

17 beoordelingen

5
2
4
4
3
4
2
0
1
7

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen