1,479 views
4 4 votes

A process can have

  • A. Only One critical Section
  • B.Any number of critical Section
  • C.Os may put some restrictions on number of critical sections
  • D.None of the above

4 Answers

1 1 vote
I think the answer will be (B).

because Critical section of a process accesses shared variables in a group of cooperating processes, at a given point of time....
1 1 vote
critical section can be anything...file,resource,code anything which is shared by two processes....so any number of critical sections are possible....option B
0 0 votes

Critical section is a piece of a program that requires mutual exclusion of access  so a critical section at a time can allow only one process at a time and For uniprocessor system the inverse should also be true. so I think 

A process can have Only One critical Section . and ans should be (A)

Position:
Show:

Related questions

0 0 votes
3 3 answers
1.6k
1.6k views
vix28 asked Apr 26, 2016
1,565 views
Consider three processes, P1, P2, and P3. Their start times and executiontimes are given belowLet x be the amount of time taken by the kernel to complete a contextswitch ...
0 0 votes
2 2 answers
2.1k
2.1k views
ykrishnay asked May 14, 2022
2,120 views
Is "operating system three easy pieces" Book is enough for gate exam? Or I read another book especially for GATE exam Please tell I am confused
0 0 votes
1 1 answer
3.9k
3.9k views
Chetan Warke asked Nov 17, 2018
3,911 views
The first known correct software solution to the critical-section problemfor two processes was developed by Dekker. The two processes, P0 andP1, share the following varia...
3 3 votes
1 answers 1 answer
2.1k
2.1k views
pC asked May 3, 2016
2,067 views
What is TIFR ?Why do people go for it ? Do people get jobs in product based companies after TIFR ?How is the exam pattern ?When would the exam be called for ?I knew noth...