Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

execution is a is a function or action implemented as a sequence of one or more

ID: 3806434 • Letter: E

Question

execution is a 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. is a programming language construct that encapsulates variables, access procedures, and initialization code within an abstract data type. 9 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 10) In the case of processes are sharing resources without being aware ofthe other processes is a mutual exclusion mechanism in II) which a process executes in an infinite loop waiting for the value of a lock variable to indicate availability. 12 Only three operations may be performed on a semaphore: initialize, increment, and 13 A monitor supports synchronization by the use of that are contained within the monitor and accessible only within the monitor. 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. IsyThe 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

Explanation / Answer

7) Atomic operation 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

8) a class is a programming language construct that encapsulates variables access procedures and initializarion code within an abstact data type

9) critical section is a section of code wuthin the the process that requires a access to shared resources and that must not be executed while another process is in a corrsponding section of code

10) in case of competition processes are sharing resources without being aware of the other process

11) a spinlock is a mutual exclusion mechanism in which each process executes in a infinite loop waiting for the value of a lock variable to indicate availability

12)

only three opearions may be performed on semaphore initialize, increment and decrement

as per chegg policy we are required to give answer for first four ques only

as per the time contraint not able to answer any more ques please create separete ques