Computer Sciences > Gate 2016 Set-1 > Grammer
Which of the following languages is generated by the given grammar?

S → aS|bS| ε
A
{anbm | m,n >= 0}
B
{w∈{a,b}* | w has equal number of a's and b's}
C
{an | n>=0} U {anbn | n>=0}
D
{a,b}*

Correct : Grammar

Similar Questions

Identity the language generated by following grammar where S is the start variable. S --> XY X --> aX | a Y --> aYb | ∈
#164 MCQ
Identity the language generated by following grammar where S is the start variable. S --> XY X --> aX | a Y --> aYb | ∈
#164 MCQ
Identity the language generated by following grammar where S is the start variable. S --> XY X --> aX | a Y --> aYb | ∈
#164 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......