CS301 Fall 1998
Homework Assignment #3
Out: Thursday October 15
Due: Tuesday, October 27
Do the following problems from the textbook with the indicated
additions:
- Exercise 3.4 (b), (c), (d)
- Exercise 3.6 (b). Enumerate the parse tree nodes according to
leftmost and rightmost derivations.
- Exercise 3.12 (a) and (b)
- Exercise 3.20 (b). Explain your decisions. Based on your
explanations, give an algorithm to create a context-free grammar
for any regular expression.
- Exercise 3.24 (a) and 3.25
Please use a work processor (except for drawings, where you could
use a pen).