Question: Question 3 ( 3 pts ) You probably remember this little language ( and maybe you re tired of seeing it ) : Sigma
Question pts
You probably remember this little language and maybe youre tired of seeing it:
Sigma ab
L abaab,aaab,...
Its not a super exciting pattern, and its definitely a regular language. That doesnt mean we cant provide a context free grammar for it though.
a First, provide a context free grammar for this language that is not also regular. b Then, explain why it is context free but not regular.
Hint: Remember that every regular grammar is context free, but not every context free grammar is regular. For part a youll need to break the gamerules that make something a "regular grammar". For part b youll have to talk about the shape of the rules you used.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
