GATE CSE
First time here? Checkout the FAQ!
x
0 votes
77 views
Consider the following statements:
S1: Whenever we apply transition on any symbol the lookahead does not change
S2: The lookahead has effect on items of the form
[$A\rightarrow \alpha \bullet \beta , a$] where β ≠ ∈ and [$A\rightarrow \alpha \bullet , a$]
Which of the above statements are true wrt LR(1) items?
asked in Compiler Design by Veteran (43.5k points)   | 77 views
no sure...but i guess they want effect in the table due to lookahaead symbols...that only comes during reduction...
So my thinking is also  same  :)
I too saw a reduced move in S2 . So thought it is True .   "AND" makes the problem  :D
yea...:)
effect means role of lookahead here ..
so, s1-true

s2-false

Please log in or register to answer this question.



Top Users Mar 2017
  1. rude

    4018 Points

  2. sh!va

    2994 Points

  3. Rahul Jain25

    2804 Points

  4. Kapil

    2608 Points

  5. Debashish Deka

    2104 Points

  6. 2018

    1414 Points

  7. Vignesh Sekar

    1336 Points

  8. Bikram

    1218 Points

  9. Akriti sood

    1186 Points

  10. Sanjay Sharma

    1016 Points

Monthly Topper: Rs. 500 gift card

21,445 questions
26,757 answers
60,936 comments
22,954 users