Question: = - QUESTION 9 9 a) The grammar G is described by its vocabulary V = {a, b, c, A}, Production P = {A ab,

 = - QUESTION 9 9 a) The grammar G is described

= - QUESTION 9 9 a) The grammar G is described by its vocabulary V = {a, b, c, A}, Production P = {A ab, A - abc, A - abcA), and Terminal symbols T = {a, b, c}. What language L (G) is generated by G? (6 marks) b) Draw a transition diagram of a finite-state automaton that accepts any strings over {1, 0}, which begins with odd number of 1 and ends with even number of 0. An example of an accepted string is 11100. (6 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!