Let V = {S, A, B, a, b} and T = {a, b}. Determine whether G =

Question:

Let V = {S, A, B, a, b} and T = {a, b}. Determine whether G = (V, T, S, P) is a type 0 grammar but not a type 1 grammar, a type 1 grammar but not a type 2 grammar, or a type 2 grammar but not a type 3 grammar if P, the set of productions, is
a) S → (AB, A → Bb, B → λ.
b) S → (A, A → a, A → b.
c) S → (Ba, AB → (.
d) S → (BA, A → (B, B → (b.
e) S → bA, A → B, B → (.
f) S → (A, aA → B, B → (A, A → b.
g) S → bA, A → b, S → λ.
h) S → AB, B → (Ab, (Ab → b.
i) S → (A, A → bB, B → b, B → λ.
j) S → A, A → B, B → λ.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: