Question
A binary semaphore 'mutex' is initialized to 1. Four processes execute wait(mutex) in quick succession, with no corresponding signal(mutex) call in between. What is the resulting value of mutex, and what happens to the processes?
More IT Operating System Questions
- There is a BST and below is the Pre order of the BST, What will be it’s In order 150 70 60 80 250 200 350
- Java MinHeap class has a heapifyDown method. public class MinHeap { private ArrayList heap; public MinHeap() { heap = new ArrayList...
- What does the acronym "REST," commonly used in the context of web APIs, stand for, and what is one of its defining characteristics?
- What does Section 66A of IT Act define?
- A Python function get_element(arr, index) is supposed to return the element at a given index. def get_element(arr, index): # Assume arr is a list of ...
- Which of the following data structures offers O(1) average-case time complexity for insertion, deletion, and search operations?
- What will be the output of the following Java code? int x = 5; int y = x++ + ++x; System.out.println(y);
- Consider the Quick Sort algorithm with the last element as the pivot. For the array [7, 2, 1, 6, 8, 5, 3, 4], what will be the state of the array *after th...
- Which is best fit for blank space 15?
- Which cloud service model requires the customer to manage only the application code and its data configuration, while the provider takes full operational r...
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)