All mock tests are FREE till 31 December — register to save your progress

Which of the following statements are CORRECT?
(A) A process always checks the state of the currently executing process to enter its critical section.
(B) Spin locks use busy waiting.
(C) Periodically testing a variable until some value appears is known as busy waiting.
(D) A critical region/section is the part of a program where shared memory (a shared resource) is accessed.
(E) A printer daemon continuously checks to see if there are any files to be printed.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. (C) (B) and (D) only

More System Software and Operating System questions