Filters
Question type

Study Flashcards

The _________ is a directed graph that depicts a state of the system of resources and processes, with each process and each resource represented by a node.

Correct Answer

verifed

verified

resource a...

View Answer

An indirect method of deadlock prevention is to prevent the occurrence of a circular wait.

A) True
B) False

Correct Answer

verifed

verified

A closed chain of processes exists, such that each process holds at least one resource needed by the next process in the chain is the condition of __________ .


A) no preemption
B) mutual exclusion
C) circular wait
D) hold and wait

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

For deadlock to occur, there must not only be a fatal region, but also a sequence of resource requests that has led into the fatal region.

A) True
B) False

Correct Answer

verifed

verified

The _________ is useful in sending a signal to a thread indicating that a particular event has occurred.


A) mutex object
B) semaphore object
C) event object
D) waitable timer object

E) None of the above
F) All of the above

Correct Answer

verifed

verified

_________ strategies are very conservative and solve the problem of deadlock by limiting access to resources and by imposing restrictions on processes.

Correct Answer

verifed

verified

The _________ of the system reflects the current allocation of resources to processes.

Correct Answer

verifed

verified

A set of processes is _________ when each process in the set is blocked awaiting an event that can only be triggered by another blocked process in the set.


A) spinlocked
B) stagnant
C) preempted
D) deadlocked

E) All of the above
F) B) and D)

Correct Answer

verifed

verified

A mutex is used to ensure that only one thread at a time can access the resource protected by the mutex.

A) True
B) False

Correct Answer

verifed

verified

Deadlock avoidance requires knowledge of future process resource requests.

A) True
B) False

Correct Answer

verifed

verified

One of the most significant contributions of UNIX to the development of operating systems is the _________ .


A) semaphore
B) shared memory
C) message
D) pipe

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

If access to a resource requires mutual exclusion then mutual exclusion must be supported by the OS

A) True
B) False

Correct Answer

verifed

verified

Requested resources are granted to processes whenever possible with _________ .


A) preemption
B) deadlock detection
C) mutual exclusion
D) deadlock avoidance

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

The dining philosophers' problem can be representative of problems dealing with the coordination of shared resources which may occur when an application includes concurrent threads of execution.

A) True
B) False

Correct Answer

verifed

verified

Linux provides three types of semaphore facilities in the kernel: binary semaphores, counting semaphores, and __________ .

Correct Answer

verifed

verified

reader-wri...

View Answer

With _________ only one process may use a resource at a time and no process may access a resource unit that has been allocated to another process.


A) hold and wait
B) mutual exclusion
C) no preemption
D) circular wait

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

Inspired by the concept of co-routines, a _________ is a circular buffer allowing two processes to communicate on the producer-consumer model.

Correct Answer

verifed

verified

A _________ resource is one that can be created and destroyed.

Correct Answer

verifed

verified

The __________ condition can be prevented by defining a linear ordering of resource types.


A) hold and wait
B) no preemption
C) mutual exclusion
D) circular wait

E) None of the above
F) A) and C)

Correct Answer

verifed

verified

The fastest form of interprocess communication provided in UNIX is __________ .


A) shared memory
B) message
C) pipe
D) semaphore

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Showing 21 - 40 of 45

Related Exams

Show Answer