persistent Company Category

)Match the following.

1)Critical Section a)Mutual exclusion

2)Wait/signal b)Deadlock

3)Working set c)Hoareā€™s Monitor

4)Semaphore d)

Read Solution (Total 2)

persistent Other Question

when you want to use
-printf() scanf()
-log() abs() pow()
-clrscr() getch() terminate()
and your program restrictions are such that you have to use only 1 header file
Is it Possible......if yes which header file will you use....
How you will do it?
There is a file server which provides locking for mutual exclusion . if any process locks the file and abruptly terminated this will result in indefinitely locking .
The solution they found is to implement a timer for locking of file i.e. if time outs then server assumes that file is indefinitely locked and terminate the process ?
a) this solution is perfect for mutual exclusion
b) this will solve indefinite locking
c) this will result in interleaving of file between processes
d) will allow the concurrent process to access the file.