in Compiler Design retagged by
494 views
0 votes
0 votes

I m confused between 2 and 4  .Please explain Why ?

in Compiler Design retagged by
494 views

3 Comments

How 4 ?
0
0
Hi ManojK what do you think about Ashwani Kumar Answer .He said how 4 what is your opinion.
0
0
correct
–1
–1

1 Answer

4 votes
4 votes
Best answer

There will be 4 SR conflicts.

2 in I3  and 2 in I4

You have to consider a reduce move with every shift item.  

selected by

4 Comments

@shekhar chauhan Can you check this ans ?
0
0
I have just made a Parse table ,and i found out that there are 4 SR conflicts

2 SR conflicts are in the state which we get after shift move from Initial state on a. And second on b .

both have 2-2 SR conflicts.
2
2
Answer should be selected
0
0
I can't do that .I don't have permission
0
0

Related questions