Consider the following grammars. Names representing terminals have been…
PYQ GATE 2007
Consider the following grammars. Names representing terminals have been specified in capital letters.

Which one of the following statements is true?
- A.
G1 is context-free but not regular and G2 is regular
- B.
G2 is context-free but not regular and G1 is regular
- C.
Both G1 and G2 are regular
- D.
Both G1 and G2 are context-free but neither of them is regular
Attempted by 54 students.
Sign up free to check your answer
Sign up freeLoading lesson…

