Due Dates:  Oral presentations of material begin on 20 October.
Written descriptions of material presented due one week after presentation.

Topics: Pushdown Automata (Chapter 2).

An integral part of this class is understanding and presenting the problems assigned as homework. Everyone is expected to do all the problems, but we will take turns on who presents the problem solutions to the class (every 2-3 weeks, depending on the number of students in the class). Within a week of presenting a problem solution to the class, you must submit a written description of it, via the Blackboard system. The written solutions will be posted on the Blackboard website for the class, so, they can used by everyone to study for the exams. Since it's hard to write down answers that are concise and are easily readable by all, if you wish to improve a grade on any problem, you may resubmit it for grading.

All students enrolled should complete the following:

1. Give a string that can be derived in two different ways from the grammar:
E → E + E | E x E | (E) | a
2. Convert the following CFG into an equivalent CFG in Chomsky normal form, using the procedure given in Theorem 2.6.
E → E + E | E x E | (E) | a
3. Let G be the context free grammar:
E → E + T | T
T → T x F | F
F → (E) | a
Using the procedure in Theorem 2.12, convert G into an equivalent pushdown automata.

4. Give a context free grammar that generates the language
A = {aibjck | i,j,k ≥ 0 and i=j or j=k}
Is your grammar ambiguous? Why or why not?

5. Describe a Pushdown Automata that accepts the language:
L = {w | w contains more 1's than 0's}
6. Convert the following CFG into an equivalent CFG in Chomsky normal form, using the procedure given in Theorem 2.6.
A → BAB | B| ε
B → 00 | ε