[9 points] Construct a pushdown automaton accepting the language L. Brief and precise interpretation of the states and the transitions of your machine is required.
[6 points] Construct a context-free grammar generating the language L. Give the interpretation of the variables used in your grammar.
[5 points] Is L regular? Support your answer by giving a proof.
[15 points] Prove, or disprove by giving a counter-example, each of the following statements. A correct answer without justification will not receive any credit.
[3 points] If L* is a regular language, then L is a regular language.
[3 points] If Li is a context-free language for i = 0, 1, ¼, then Èi = 0¥ Li is a context-free language.
[9 points] The language { x xr x | x Î {a, b }* } is context-free. Note: wr denote the reversal of the string w.
[10 points] Consider the language:
L = { an bn c m | n, m ³ 1, and n \not = m }.
Place the language (a + b + c)* - L in one of the following classes: "regular", "context-free but not regular", "not context-free". Prove your answer. A correct answer without justification will not receive any credit.
File translated from
TEX
by
TTH,
version 3.35. On 10 Feb 2009, 13:38.