Exam 5: Concurrency: Mutual Exclusion and Synchronization

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A semaphore that does not specify the order in which processes are removed from the queue is a _________ semaphore.

Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
Verified

A

A means for two processes to exchange information is with the use of ___________ .

Free
(Multiple Choice)
5.0/5
(41)
Correct Answer:
Verified

D

The management of multiple processes within a uniprocessor system is __________ .

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

A

A monitor supports synchronization by the use of __________ that are contained within the monitor and accessible only within the monitor.

(Short Answer)
4.8/5
(48)

A __________ relationship allows multiple server processes to provide concurrent service to multiple clients.

(Multiple Choice)
4.9/5
(41)

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 is _________ .

(Multiple Choice)
4.9/5
(38)

The term _________ refers to a technique in which a process can do nothing until it gets permission to enter its critical section but continues to execute an instruction or set of instructions that tests the appropriate variable to gain entrance.

(Multiple Choice)
4.8/5
(39)

A _________ is a mutual exclusion mechanism in which a process executes in an infinite loop waiting for the value of a lock variable to indicate availability.

(Short Answer)
4.8/5
(35)

In the case of competing processes three control problems must be faced: mutual exclusion, deadlock, and __________ .

(Short Answer)
4.9/5
(44)

Race condition is 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.

(True/False)
4.8/5
(37)

_________ arises in three different contexts: multiple applications, structured applications, and operating system structure.

(Short Answer)
4.8/5
(35)

_________ is 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.

(Short Answer)
4.8/5
(40)

Atomicity guarantees isolation from concurrent processes.

(True/False)
5.0/5
(47)

The functioning of a process, and the output it produces, must be independent of the speed at which its execution is carried out relative to the speed of other concurrent processes.

(True/False)
4.8/5
(27)

_________ was invented to allow processing time to be dynamically shared among a number of active applications.

(Short Answer)
4.8/5
(38)

The case of cooperation by sharing covers processes that interact with other processes without being explicitly aware of them.

(True/False)
4.7/5
(31)

Only three operations may be performed on a semaphore: initialize, increment, and __________ .

(Short Answer)
4.9/5
(41)

_________ is when the sequence of instruction is guaranteed to execute as a group, or not execute at all, having no visible effect on system state.

(Multiple Choice)
4.9/5
(42)

__________ are memory words used as a synchronization mechanism.

(Multiple Choice)
4.8/5
(42)

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

(Short Answer)
5.0/5
(38)
Showing 1 - 20 of 45
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)