Start learning →

GATE CSE Synchronisation — practice questions

Explore 1 free Synchronisation questions in GATE CSE Operatingsystems. Open each question or exercise to read its content, reference answers and available explanation.

Practise Synchronisation with Quill →

Synchronisation questions and exercises with answers

Showing questions 1–1 of 1.

Worked practice questions

Order the typical lifecycle of a producer–consumer slot

Read exercise and reference answers
Steps
  1. Producer waits if buffer is full (semaphore: empty)
  2. Producer acquires mutex on shared buffer
  3. Producer inserts item and releases mutex
  4. Producer signals 'full' so consumer can read
  5. Consumer acquires mutex, removes item, releases mutex
  6. Consumer signals 'empty' so producer can write again

Open this exercise →

How to practise

  1. Choose a Synchronisation question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

More Operatingsystems topics