447 views

1 Answer

1 votes
1 votes
ANY PROCESS OR STATEMENT B/W CO BEGIN AND CO END MEANS THAT THESE PROCESS/STATEMENT ARE CONCURRENT AND WE CAN START ANY STATEMENT AND FINISH IT IN ANY ORDER.

 now the   statement X=X+3 & X=X+1 contains 3 machine instruction each.For example both of them contain instruction

1. LOAD X,R    2. INCREMENT R   3.STORE R,X

LET FIRST STATEMENT BE X1 AND SECOND STATEMENT BE X2.

X1:1|X2:1,2,3|X1:2,3  (IN THIS CASE VALUE OF X WILL BE 5)

X2:1|X1:,1,2,3|X2:2,3(IN THIS CASE X WILL BE 3)

SERIAL SCHEDULING IS POSSIBLE THEN X=6 IS POSSIBLE.

SO ANSWER MUST BE 3,5,6 .
edited by

Related questions

1 votes
1 votes
2 answers
1
0 votes
0 votes
0 answers
2
abhishek1995_cse asked Oct 12, 2018
336 views
For a page size of 200 words, what is the page number and offset for a logical address of 1142.a)5,142b)2,142c)6,142d)7,140
0 votes
0 votes
1 answer
3
abhishek1995_cse asked Oct 21, 2018
533 views
The minimal finite automata accepting the strings in r=0*1* has ________ states?for DFA its 3 states and for NFA its 2 states which one should i go with?