GATE | GATE CS 1996 | Question 59
Let G be a context-free grammar where G = ( { S, A, B, C}, { a,b, d}, P, S ) with the productions in P given below.
S → ABAC A → aA ∣ ε B → bB ∣ ε C → d
(ε denotes null string). Transform the grammar G to an equivalent context-free grammar G’ that has no ε productions and no unit productions. (A unit production is of the form x → y, and x and y are non terminals.)
Answer:
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post
Recommended Posts:
- GATE | GATE CS 1996 | Question 75
- GATE | GATE CS 1996 | Question 72
- GATE | GATE CS 1996 | Question 71
- GATE | GATE CS 1996 | Question 70
- GATE | GATE CS 1996 | Question 69
- GATE | GATE CS 1996 | Question 68
- GATE | GATE CS 1996 | Question 50
- GATE | GATE CS 1996 | Question 51
- GATE | GATE CS 1996 | Question 73
- GATE | GATE CS 1996 | Question 49
- GATE | GATE CS 1996 | Question 39
- GATE | GATE CS 1996 | Question 38
- GATE | GATE CS 1996 | Question 37
- GATE | GATE CS 1996 | Question 36
- GATE | GATE CS 1996 | Question 47



