These problems will be discussed in class. Consider them as practice for the "real" homework assignment. Be sure to ask any questions in class that you might need in order to do these problems.
Reading material is the chapter "Describing Syntax and Semantics" from the text. Also see the documents page for links to downloading and installing Perl.