1.

Which of these does not belong to CFG?(a) Terminal Symbol(b) Non terminal Symbol(c) Start symbol(d) End SymbolThis question was addressed to me in final exam.My question is from Context Free Grammar topic in division Contextfree Grammar and Syntax Analysis of Compiler

Answer»

Right choice is (d) END SYMBOL

The explanation is: CFG CONSISTS of terminal non terminal start symbol set of production RULES but does not have an end symbol.



Discussion

No Comment Found

Related InterviewSolutions