Question 101
Question 103
Question 104
Question 105
Question 106
Question 107
main() { fork() ; fork() ; printf ("yes"); }If we execute this core segment, how many times the string yes will be printed ?
Question 108
while (true) // infinite condition { A :____; printf("%d", 1); printf("%d", 1); B:____; }P2 code:
while (true) // infinite condition { C:____; printf("%d", 0); printf("%d", 0); D:____; }What should be the binary semaphore operation on A,B,C,D respectively and what must be the intial values of semaphore M,N inorder to get the output 110011001100....? Where P is down and V is up operation respectively.
Question 109
Question 110
There are 115 questions to complete.