Answer the following statements true (T) or false (F)

1) An atomic operation executes without interruption and without interference.
2)Deadlock avoidance is more restrictive than deadlock prevention.
3) 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.
4) A signal is similar to a hardware interrupt but does not employ priorities.
5) A mutex is used to ensure that only one thread at a time can access the resource protected by the mutex.

1) T
2) F
3) T
4) T
5) T

Computer Science & Information Technology

You might also like to view...

A 3-D range can be defined by clicking Define Name in the Defined Names group of the ________ tab

A) Home B) Formulas C) Data D) Insert

Computer Science & Information Technology

The ____________ fstream member function opens a file stream and connects the stream variable to a physical file whose name is the argument to the function.

a) ``` close( ) ``` b) ``` overloaded operator <<( ) ``` c) ``` open( ) ``` d) ``` eof( ) ``` e) ``` flush( ) ```

Computer Science & Information Technology