...
Question 11338 – Properties
November 11, 2023
Question 6909 – UGC NET CS 2015 Dec – paper-3
November 11, 2023
Question 11338 – Properties
November 11, 2023
Question 6909 – UGC NET CS 2015 Dec – paper-3
November 11, 2023

Question 10165 – Context-Free-Grammar

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.)

Correct Answer: A

A
Theory Explanation.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!