Skip to content
Official PYQ · 2017

GATE CS 2017 Set 1 Q10 — Context-free Grammars and Push-down Automata

Explain with AI

Consider the following context-free grammar over the alphabet Σ={a,b,c}\Sigma = \{a,b,c\} with SS as the start symbol:S→abScT∣abcTS \rightarrow abScT \mid abcTT→bT∣bT \rightarrow bT \mid bWhich one of the following represents the language generated by the above grammar?

Choose one option
View answer

Answer: B

Worked explanation not available yet.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Context-free Grammars and Push-down Automata questions