retagged by
6,034 views

2 Answers

Best answer
5 votes
5 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 votes
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:

Related questions

2.1k
views
5 answers
2 votes
go_editor asked Jul 8, 2016
2,060 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?$ ... precedence than $*$+ and – have same precedence+ has the higher precedence than $*$
2.2k
views
3 answers
1 votes
Sanjay Sharma asked Apr 25, 2016
2,210 views
Which of the following is the most powerful parsing method?LL(I)Canonical LRSLRLALR
4.2k
views
1 answers
1 votes
Sanjay Sharma asked Jun 1, 2016
4,163 views
In compiler design ‘reducing the strength’ refers toreducing the range of values of input variablescode optimization using cheaper machine instructionsreducing efficiency of programnone of the above
3.1k
views
3 answers
2 votes
go_editor asked Jul 11, 2016
3,107 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 position p ... $_2$.skill and p$_1$.posting.No = p$_2$.posting-No