GATE CSE
First time here? Checkout the FAQ!
x
0 votes
85 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 (45.6k points)   | 85 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

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.


Top Users Apr 2017
  1. akash.dinkar12

    3660 Points

  2. Divya Bharti

    2580 Points

  3. Deepthi_ts

    2040 Points

  4. rude

    1966 Points

  5. Tesla!

    1768 Points

  6. Debashish Deka

    1614 Points

  7. Shubham Sharma 2

    1610 Points

  8. Prashant.

    1492 Points

  9. Arjun

    1472 Points

  10. Arunav Khare

    1464 Points

Monthly Topper: Rs. 500 gift card

22,088 questions
28,063 answers
63,298 comments
24,173 users