Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2017 Set 1
Questions

Q10

MCQ1 mark, −0.33Theory of computationMedium

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 abcT T→bT∣bT \rightarrow bT \mid b

Which one of the following represents the language generated by the above grammar?

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.