retagged by
216 views
0 votes
0 votes

The grammar having no Epsilon$\left ( \epsilon \right )$ transition or two adjacent nonterminals in the right side of any production is ?

  1. $LL$$\left ( 1 \right )$ grammar
  2. Operator grammar
  3. Unambiguous grammar
  4. Context Sensitive grammar
retagged by

1 Answer

Best answer
2 votes
2 votes

An operator precedence grammar is a context-free grammar that has the property  that no production has either an empty right-hand side or two adjacent non-terminals in its right-hand side.

hence it is clearly option B which is an operator  grammar .

Answer:

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
Bikram asked Feb 9, 2017
308 views
Consider the grammar:$S\rightarrow$ $PQ | SQ | PS$$P\rightarrow k$$Q\rightarrow m$To get a set of $n$ terminals, the number of productions to be used are ______. $n^{2...
3 votes
3 votes
3 answers
4
Bikram asked Feb 9, 2017
718 views
A radio is available at $\text{₹} 27780/-$ cash price, or three equal annual installments at $15\%$ per annum under $CI$ compounding annually. Each installment amount, ...