Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Consider a typical process Pi in the critical section. Arrange the following statements of code to make a valid general structure. 
(A). Critical section 
(B). Remainder section 
(C). Entry section 
(D). Exit section 
Choose the correct answer from the options given below: 
1. (C), (B), (A), (D) 
2. (C), (A), (B), (D) 
3. (C), (A), (D), (B) 
4. (C), (B), (D), (A)





Solution

The general structure of a process with critical section is:

  1. Entry section → request entry into the critical section.

  2. Critical section → perform the critical task.

  3. Exit section → leave and update status.

  4. Remainder section → execute non-critical code.



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...