include_template( 'topper.html' ); ?> CS 3304 semester(); ?> Homework Assignment 8 include_template( 'page-start.html' ); ?>
Note: The following instructions are repeated from the Homework Dates/Guidelines page:
Your solutions for each homework assignment must be prepared with a word processor (e.g., LaTeX or Word), and are due at the beginning of class on the due date specified unless otherwise noted on the assignment itself.
Note that all homework problems taken from the text are in the Problem Sets. Do not turn in solutions to Review Questions by mistake!
Also, remember that the 5th Edition text includes a new chapter--Chapter 4. All chapter numbers in homework assignments are from the 5th Edition, so students with earlier versions of the text must remember that in their books, the chapter numbers are off by one. If you have an earlier version of the text, you are still responsible for solving the correct problems.
section_title( 'Problems' ) ?>Complete each of the following problems:
From Chapter 7 (Chapter 6 in 4th ed.):
Problem 12
Draw the parse tree for the expression in 10.b according to your grammar. Annotate your parse tree by including numbers (and circling them) by each operator in the tree indicating the order of evaluation. There is no need to number the parentheses in the expression.
Chapter 7, Problem 21 (Chapter 6 in 4th ed.)
Chapter 8, Problem 10 (Chapter 7 in 4th ed.)