Inter-Process Communication, Concurrency and Synchronization: GATE CS previous year questions
Inter-Process Communication, Concurrency and Synchronization is part of Operating System in the GATE CS syllabus. This page lists 17 past-paper questions on it from official GATE CS papers.
Concurrency and synchronization
- Consider the procedure below for the Producer-Consumer problem which uses semaphores…
- A shared variable x, initialized to zero, is operated on by four concurrent processes W…
- Consider the following multi-threaded code segment (in a mix of C and pseudo-code)…
- Consider a multi-threaded program with two threads T1 and T2. The threads share two…
- A certain computation generates two arrays a and b such that a[i] = f(i) for 0 ≤ i < n…
- Consider a non-negative counting semaphore S. The operation P(S) decrements S, and V(S)…
- Consider the two functions incr and decr shown below. incr() wait(s); X = X+1…
- Consider the following two-process synchronization solution. Process 0 --------- Entry…
- Consider the following solution to the producer-consumer synchronization problem. The…
- Each of a set of n processes executes the following code using two semaphores a and b…
- Consider the following proposed solution for the critical section problem. There are n…
- Consider three concurrent processes P1, P2 and P3 as shown below, which access a shared…
- Consider the following threads, T₁, T₂, and T₃ executing on a single processor…
- Consider the following pseudocode, where S is a semaphore initialized to 5 in line#2 and…
- Consider the following two threads T1 and T2 that update two shared variables a and b…
- Fetch_And_Add(X,i) is an atomic Read-Modify-Write instruction that reads the value of…
- The following two functions P1 and P2 that share a variable B with an initial value of 2…
More Operating System chapters
- System Calls, Processes and Threads
- Deadlock
- CPU and I/O Scheduling
- Memory Management and Virtual Memory
- File Systems
Frequently asked questions
How many GATE CS questions are there on Inter-Process Communication, Concurrency and Synchronization?
PrepWiser has 17 past-paper questions on Inter-Process Communication, Concurrency and Synchronization from official GATE CS papers.
Are these real GATE CS questions?
Yes. Each one is from an official GATE CS paper and names its year and set. The answers come from the official answer keys.
Where are the step-by-step solutions?
Every question shows its answer, free. Step-by-step solutions, where available, are part of GATE CS Pro.