logo

Crowdly

Browser

Add to Chrome

Questions Bank (1579675 total)

What is wrong with the trains?
0%
0%
0%
100%
View this question
Where is the train bound for?
0%
0%
0%
0%
View this question
What age group of people does Overcoming Challenges help?
0%
0%
0%
100%
View this question

Semaphore S=1, there are 5 processes po,p1,p2,p3,p4 execute the following code

p0 to p3 execute 

while (1)

{ 

   P(S)

   <CS.>

   V(S)

}

p4 execute 

   {P(S)

   <CS.>

   V(S)}

How many maximum number of processes  can be present in critical section at any point of time?

0%
100%
0%
View this question
Why is the woman returning the blouse?
0%
0%
100%
0%
View this question
How many tablets is the woman going to buy?
100%
0%
0%
0%
View this question

Номенклатура справи забезпечує

0%
0%
0%
100%
View this question
Where does the conversation occur?
0%
100%
0%
0%
View this question

Binary semaphore S1=1  and S2=1

int x=10

p0()

{

          p(s1)

          p(s2)

          x=x+1

         v(s2)

         v(s1)

}

                 ------------                  p1()

{

          p(s2)

          p(s1)

           x=x+1

       v(s2)

       v(s1)

}

what will be the value of x  after execution of p0 and p1?

0%
0%
0%
View this question
When will the man pick up the suit?
0%
100%
0%
0%
View this question