nbn | n = 1, 2, 3…....} can be generated by the CFG - This objective type question with answer for competitive exams is provided by Gkseries.">

GkSeries.com

Q.

The set {anbn | n = 1, 2, 3…....} can be generated by the CFG

[A] S → ab | aSb
[B] S → aaSbb | abb
[C] S → aaSbb | ab | aabb
[D] Both (A) and (C)
Answer & Explanation

Answer: Option [D]

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Please share this page

Click Here to Read more questions

Teacher Eligibility Test