edited by
7,240 views

2 Answers

Best answer
4 4 votes

Answer :  while converting CFG to LL(I) grammar we have to see 

Remove left recursion 
Factoring grammar 

Reference : information about Conversion from CFG to LL(1) Grammar  is Here

It must be noted that even after the above 2 steps there is no guarantee that we get an LL(1) grammar as for that our grammar must be unambiguous as well. See one related question here

selected by
0 0 votes
Option C will be right option for it.

Bcz when we will convert any CFG such grammar do not have the propert of the Left recrsion along with there does not exist any non-deterministic grammar for it.

So option C will be right option for it.
Answer:
Position:
Show:

Related questions

3 3 votes
5 answers 5 answers
3.1k
3.1k views
go_editor asked Jul 8, 2016
3,138 views
Given the following expressions of a grammar$E \rightarrow E * F / F + E / F$$F \rightarrow F – F / id$Which of the following is true?$*$ has the higher precedence ...
1 1 vote
3 3 answers
2.8k
2.8k views
Sanjay Sharma asked Apr 25, 2016
2,755 views
Which of the following is the most powerful parsing method?LL(I)Canonical LRSLRLALR
1 1 vote
1 answers 1 answer
4.7k
4.7k views
Sanjay Sharma asked Jun 1, 2016
4,657 views
In compiler design ‘reducing the strength’ refers toreducing the range of values of input variablescode optimization using cheaper machine instructionsreducin...
3 3 votes
4 4 answers
4.2k
4.2k views
go_editor asked Jul 11, 2016
4,172 views
Given a Relation POSITION (Posting-No, Skill), then the query to retrieve all distinct pairs of posting-nos. requiring skill isSelect p.posting-No, p.posting-No from posi...