1.

a→b Restriction: Length of b must be atleast as much length of a. Which of the following is correct for the given assertion?(a) Greibach Normal form(b) Context Sensitive Language(c) Chomsky Normal form(d) Recursively Ennumerable languageI have been asked this question in unit test.Question is from DPDA and Context Free Languages topic in portion Push Down Automata of Automata Theory

Answer»

The CORRECT OPTION is (b) Context Sensitive Language

The explanation is: A context-sensitive grammar (CSG) is a formal grammar in which the left-hand sides and right-hand sides of any production RULES may be surrounded by a context of terminal and non terminal symbols. Context-sensitive GRAMMARS are more general than context-free grammars, in the SENSE that there are some languages that cannot be described by context-free grammars, but can be described by CSG.



Discussion

No Comment Found

Related InterviewSolutions