Consider the following schedule on data object Q, whose initial value is 500.…
PYQ RPSC Programmer 2024
Consider the following schedule on data object Q, whose initial value is 500. What will be the final value of Q after the last operation?
1. T1: Read(Q)
2. T2: Read(Q)
3. T1: Q = Q + 100
4. T2: Q = Q + 100
5. T2: Write(Q)
6. T1: Write(Q)
- A.
600
- B.
700
- C.
550
- D.
500
- E.
Question not attempted
Attempted by 537 students.
Sign up free to check your answer
Sign up freeLoading lesson…

