Question: Problem1 (3 points) a) Give context-free grammars that generate that the following language. The alphabet (a,b) and L = {w|the length of w is odd

Problem1 (3 points) a) Give context-free grammars that generate that the following language. The alphabet (a,b) and L = {w|the length of w is odd and its middle symbol is an a} b) Give context-free grammars that generate that the following language. The alphabet (a,b) and L = {ww|w = w R, that is, w is polindrome)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
