Exam 5: Concurrency: Mutual Exclusion and Synchronization

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

The classic concurrency problem that involves multiple readers that can read from a shared data area when no single writer is exclusively writing to it is the _________ Problem.

(Short Answer)
4.7/5
(36)

A _________ occurs when multiple processes or threads read and write data items so that the final result depends on the order of execution of instructions in the multiple processes.

(Multiple Choice)
4.8/5
(33)

A _________ is an integer value used for signaling among processes.

(Multiple Choice)
4.9/5
(34)

The _________ is a programming language construct that provides equivalent functionality to that of semaphores and is easier to control.

(Multiple Choice)
4.8/5
(33)

__________ is a function or action implemented as a sequence of one or more instructions that appears to be indivisible; no other process can see an intermediate state or interrupt the operations.

(Short Answer)
4.8/5
(36)

Concurrent processes do not come into conflict with each other when they are competing for the use of the same resource.

(True/False)
4.9/5
(40)

A ___________ is a semaphore that takes on only the values of 0 and 1.

(Short Answer)
4.9/5
(29)

In the case of __________ , processes are sharing resources without being aware of the other processes.

(Short Answer)
4.8/5
(30)

It is possible in a single-processor system to not only interleave the execution of multiple processes but also to overlap them.

(True/False)
4.9/5
(37)

The central themes of operating system design are all concerned with the management of processes and threads.

(True/False)
4.8/5
(39)

In the case of _________ , messages are not sent directly from sender to receiver but rather are sent to a shared data structure consisting of queues that can temporarily hold messages.

(Short Answer)
4.8/5
(36)

A _________ is a data type that is used to block a process or thread until a particular condition is true.

(Multiple Choice)
4.8/5
(43)

Processes need to be synchronized to enforce mutual exclusion.

(True/False)
4.9/5
(36)

A semaphore whose definition includes the policy that the process that has been blocked the longest is released from the queue first is called a __________ semaphore.

(Multiple Choice)
4.8/5
(38)

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 is a __________ .

(Short Answer)
4.8/5
(38)

Probably the most useful combination, __________ allows a process to send one or more messages to a variety of destinations as quickly as possible.

(Multiple Choice)
4.9/5
(40)

Two or more processes can cooperate by means of simple signals, such that a process can be forced to stop at a specified place until it has received a specific signal.

(True/False)
4.8/5
(39)

As an extension of the principles of modular design and structured programming, some applications can be effectively programmed as a set of concurrent processes.

(True/False)
4.9/5
(33)

A process that is waiting for access to a critical section does not consume processor time.

(True/False)
4.8/5
(34)

When processes cooperate by communication, the various processes participate in a common effort that links all of the processes.

(True/False)
4.9/5
(43)
Showing 21 - 40 of 45
close modal

Filters

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