GATE / CS ARCHIVE

GATE CSE 1998 / QUESTION 1.30

Timing-dependent shared computation

Operating Systems · Synchronization & Concurrency · Full GATE CSE 1998 paper

GATE 1998, Q1.30 1 mark · MCQ
Report issue

Synchronization & Concurrency

Question 1.30, GATE 1998: What is a computation whose result depends on relative process speeds called: cycle stealing, race condition, time lock, deadlock?
Question 1.30, GATE 1998: What is a computation whose result depends on relative process speeds called: cycle stealing, race condition, time lock, deadlock?
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

A race condition occurs when competing execution orders affect the result of shared operations. For example, two processes that each read, increment and write a counter may overwrite one another’s update depending on timing. Synchronization is needed when the intended result must not depend on such an interleaving. This is B. Deadlock instead means processes cannot make progress, while cycle stealing describes bus access by a device.

Original paper, page 3