Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) Describe the formal language over the alphabet {1,2,3} generated by the context-free grammar whose non-terminals are and whose start symbol is and whose production

(a) Describe the formal language over the alphabet {1,2,3} generated by the context-free grammar whose non-terminals are and whose start symbol is and whose production rules are the following:

(1) ---> 122

(2) --->

(3) ---> 3

(4) ---> 3

(5) ---> 1

In other words, describe the structure of the strings generated by this grammar.

(b) Use the Pumping Lemma to prove that the language from part (a) is not regular.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Students also viewed these Databases questions