Consider the grammar G with the productions: S \to aSb \mid SWhich one of the following is correct?单项选择题

题目图片
A

a. The grammar G is a regular grammar and L(G) is not a regular language.

B

b. L(G) = \{ a^n b^n \mid n \geq 0\} and L(G) is not a regular language.

C

c. The grammar G is a regular grammar and L(G) is a regular language.

D

d. The grammar G is not a regular grammar and L(G) is a regular language.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!