Docsity

Quiz 6 Practice Problems - Program Language Structures | CSCE 330, Quizzes of Computer Science

Partial preview of the text

Download Quiz 6 Practice Problems - Program Language Structures | CSCE 330 and more Quizzes Computer Science in PDF only on Docsity!

CSCE 330 Fall 2007

Quiz 6

Assigned Thursday, 07-09-

  1. Give a leftmost derivation of {b=9;} from the EBNF grammar of p.36 in your textbook. (This is the same question as in last Thursday’s quiz.)
  2. Draw a parse (syntax) tree for the sentence and grammar of the previous exercise.