MCQ Collection

Operating System MCQs

Practice Operating System questions with answers and explanations.

What is the essential effect of the semaphore wait operation?

Choose an option to check your answer.

What is the essential effect of the semaphore signal operation?

Choose an option to check your answer.

What happens when a thread executes wait on a condition variable inside a monitor?

Choose an option to check your answer.

What is the purpose of signaling a condition variable?

Choose an option to check your answer.

What guarantee does a lock-free algorithm provide?

Choose an option to check your answer.

What is the primary purpose of a mutex lock?

Choose an option to check your answer.

What does a test-and-set instruction typically do atomically?

Choose an option to check your answer.

How does compare-and-swap update a shared variable?

Choose an option to check your answer.