Operating system mcqs classic sync problems

 

 Buy/Download all MCQ Ebook   >>>Click Here<<<

Operating system mcqs classic sync problems

Click on any option to know the CORRECT ANSWERS

Question 1
In the bounded buffer problem .....
A
there is only one buffer
B
there are n buffers ( n being greater than one but finite)
C
there are infinite buffers
D
the buffer size is bounded
UPSC Questions answers

Question 2
To ensure difficulties do not arise in the readers - writers problem ..... are given exclusive access to the shared object.
A
readers
B
writers
C
readers and writers
D
none of the mentioned
Computer science Questions answers

Question 3
A deadlock free solution to the dining philosophers problem .....
A
necessarily eliminates the possibility of starvation
B
does not necessarily eliminate the possibility of starvation
C
eliminates any possibility of any kind of problem further
D
none of the mentioned
Visual arts Questions answers

Question 4
Consider the methods used by processes P1 and P2 for accessing their critical sections whenever needed, as given below. The initial values of shared boolean variables S1 and S2 are randomly assigned. (GATE 2010) Method used by P1 : while(S1==S2); Critical section S1 = S2; Method used by P2 : while(S1!=S2); Critical section S2 = not(S1); Which of the following statements describes properties achieved?
A
Mutual exclusion but not progress
B
Progress but not mutual exclusion
C
Neither mutual exclusion nor progress
D
Both mutual exclusion and progress
UPSC GS Questions answers

Question 5
All processes share a semaphore variable mutex, initialized to 1. Each process must execute wait(mutex) before entering the critical section and signal(mutex) afterward. Suppose a process executes in the following manner. wait(mutex); ..... critical section ..... wait(mutex);
A
a deadlock will occur
B
processes will starve to enter critical section
C
several processes maybe executing in their critical section
D
all of the mentioned
Geography Questions answers

There are 5 questions to complete.

 

 Buy/Download all MCQ Ebook >>>CLICK HERE<<<