Question 31Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 2 + 1 more paper

The term "race condition" in parallel programming refers to:

  1. AA competition between processes to terminate first
  2. BA competition between processes to access shared resources
  3. CA situation where a process is stuck in a loop
  4. DA situation where processes are running sequentially
Show answerHide answer

Correct answer: (B) A competition between processes to access shared resources

Explanation

A race condition occurs when processes access shared data concurrently and the result depends on the order of access, i.e. they compete for shared resources.

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2

This is question 31 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.

Asked in 2 papers