Time Left - 15:00 mins

Synchronization Solutions- I Starter Quiz-2

Attempt now to get your rank among 64 students!

Question 1

Strict alteration approach or turn variable approach will ensure?

Question 2

In message passing system, how many points of synchronization are possible?

Question 3

Find the status in the following cases of Binary Semaphore as success if the operation is performed without getting blocked and as block if the process is blocked while performing the operation.

Case 1: s=1

P(s)

Case 2: s=0

P(s)

Case 3: s=0

V(s)

Case 4: s=1

V(s)

Question 4

Test & Set Lock is not free from ?

Question 5

The solution to the Critical Section problem includes mutual exclusion, progress and bounded waiting between two processes. To provide better synchronization between processes there is synchronization in hardware, then choose the false among the following in context to hardware?

Question 6

Select the correct statements regarding mutex lock to prevent race condition.

I. a process must acquire the lock before entering a critical section;

II. a process need not acquire the lock before entering a critical section;

III. it releases the lock when it exits the critical section

IV. a process must acquire the lock when it exits the critical section.

Question 7

Choose the correct statement regarding Spinlocks?
  • 64 attempts
  • 0 upvotes
  • 1 comment
Jun 18GATE & PSU CS