Context free grammar is called Type 2 grammar because of ______________ hierarchy.
a→bRestriction: Length of b must be atleast as much length of a.Which of the following is correct for the given assertion?
1 Crore+ students have signed up on EduRev. Have you? Download the App |
From the definition of context free grammars,
G=(V, T, P, S)
What is the solution of VÇT?
If P is the production, for the given statement, state true or false.P: V->(V∑T)* represents that the left hand side production rule has no right or left context.
There exists a Context free grammar such that:X->aXWhich among the following is correct with respect to the given assertion?
If the partial derivation tree contains the root as the starting variable, the form is known as:
Find a regular expression for a grammar which generates a language which states :
L contains a set of strings starting wth an a and ending with a b, with something in the middle.
Which of the following is the correct representation of grammar for the given regular expression?
a(aUb)*b
A CFG for a program describing strings of letters with the word “main” somewhere in the string: