GATEverse Practice, past papers & mock tests
GATE 2019
Operating SystemsProcess Management-IImediumNAT1 mark
Consider three concurrent processes P1, P2 and P3 as shown below, which access a shared variable D initialized to 100. P1: D = D + 20 P2: D = D - 50 P3: D = D + 10 The processes are executed on a uniprocessor time-shared system. If the minimum and maximum possible values of D after completion are X and Y respectively, then the value of Y - X is _______
Save your progress

Related Operating Systems PYQs