Consider the language in the alphabet {a,b} defined by the grammar:
What are the 5 character strings in this language. Not sure what this means? Is it:Code:<S> = a<S>a | b<S>b | a | b
aa
bb
a
b
what would the 5th one be?
Consider the language in the alphabet {a,b} defined by the grammar:
What are the 5 character strings in this language. Not sure what this means? Is it:Code:<S> = a<S>a | b<S>b | a | b
aa
bb
a
b
what would the 5th one be?