1.

Production Rule: aAb->agb belongs to which of the following category?(a) Regular Language(b) Context free Language(c) Context Sensitive Language(d) Recursively Ennumerable LanguageI got this question during an interview for a job.I want to ask this question from Context Free Grammar-Derivations and Definitions in portion Context Free Grammars and Languages of Automata Theory

Answer»

Right choice is (c) Context Sensitive Language

For explanation: Context Sensitive Language or Type 1 or Linearly Bounded NON deterministic Language has the production rule where the production is context DEPENDENT i.e.aAb->AGB.



Discussion

No Comment Found

Related InterviewSolutions