Consider the following sequential code which is executed in a multiprogramming mode by assuming that each statement can execute independently to achieve the concurrency. If any statement dependent on other statements then those statements will be executed in the order.
S1: a = b + c;
S2: x = y + z;
S3: y = a + c
S4: q = y + z
Which of the above statements can execute concurrently at the beginning of execution?
a)S3 and S4
b)S2 and S3
c)S1 and S2
d)S2 and S4
"If any statement dependent on other statements then those statements will be executed in the order"
Since S3 comes after S2 in the given order, we have to execute S2 before S3.
yes sir TRUE... working on it :). But this...