GATE CSE
First time here? Checkout the FAQ!
x
0 votes
102 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 (50.9k points)   | 102 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 Aug 2017
  1. ABKUNDAN

    4660 Points

  2. Bikram

    4366 Points

  3. akash.dinkar12

    3258 Points

  4. rahul sharma 5

    3042 Points

  5. manu00x

    2682 Points

  6. makhdoom ghaya

    2410 Points

  7. just_bhavana

    2100 Points

  8. Tesla!

    1918 Points

  9. stblue

    1682 Points

  10. joshi_nitish

    1608 Points


24,928 questions
32,024 answers
74,385 comments
30,113 users