GATE CSE
First time here? Checkout the FAQ!
x
0 votes
56 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 (36k points)   | 56 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 Jan 2017
  1. Debashish Deka

    8126 Points

  2. sudsho

    5042 Points

  3. Habibkhan

    4706 Points

  4. Vijay Thakur

    4458 Points

  5. Bikram

    4348 Points

  6. saurabh rai

    4212 Points

  7. Arjun

    4010 Points

  8. santhoshdevulapally

    3722 Points

  9. GateSet

    3292 Points

  10. Sushant Gokhale

    3286 Points

Monthly Topper: Rs. 500 gift card

19,122 questions
24,033 answers
52,725 comments
20,276 users