

InterviewSolution
Saved Bookmarks
1. |
Using pumping lemma, which of the following cannot be proved as ‘not a CFL’?(a) {a^ib^ic^i|i>=0}(b) {ss|s∈{a,b}*}(c) The set legal C programs(d) None of the mentionedThis question was addressed to me in my homework.My question is based upon Pumping Lemma for Context Free Language topic in division Properties of Context Free Languages of Automata Theory |
Answer» CORRECT option is (d) NONE of the mentioned For explanation: There are few rules in C that are context dependent. For EXAMPLE, declaration of a variable before it can be used. |
|