Question: Consider the grammar G = ( N , Sigma , P , S ) with N = { A , B , C ,

Consider the grammar G=(N,\Sigma ,P,S) with N={A,B,C,D,S} and \Sigma ={a,b,c} and the productions
S->AB
S->CD
S->ASB
S->CSD
A->a
AA->bBB
B->b
B->BC
C->c
D->a
Which of the following statements is true?
Question 6Select one or more:
G is type-0.
G is type-1.
G is type-2.
G is type-3.

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!