Awesome q2a theme
0 votes

Consider the grammar which is $not$ $LL(1)$ as the $LL(1)$ table contain multiple error entries for the same

The number of entries have multiple production in LL1 are?

ago in Compiler Design by (613 points) | 20 views
$2$ ?

please explain

1 Answer

+1 vote
Best answer
The multiple entries here will be due to the $S\rightarrow\epsilon$

$First(S) = {a,b}$ - so the respective productions go in those cells.

$Follow(S)$ includes \$, and also Follows of A and B. i.e. $Follow(S) = {$, a, b}$ ,and so $S\rightarrow\epsilon$ goes into all these cells.

With this you can conclude that the cells corresponding to $S, a$ and $S, b$ will have multiple entries.
ago by (1.2k points)
selected ago by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Jan 2020
  1. shashin

    1163 Points

  2. Vimal Patel

    306 Points

  3. Deepakk Poonia (Dee)

    305 Points

  4. Debapaul

    237 Points

  5. Satbir

    192 Points

  6. SuvasishDutta

    137 Points

  7. Pratyush Priyam Kuan

    118 Points

  8. tp21

    108 Points

  9. pranay562

    95 Points

  10. DukeThunders

    94 Points

Monthly Top User and those within 60% of his/her points will get a share of monthly revenue of GO subject to a minimum payout of Rs. 500. Current monthly budget for Top Users is Rs. 75.
2,983 questions
1,509 answers
89,814 users