CMSC 330 Quiz 2 Ans..docx - CMSC 330 Quiz 2 1 Which of the following is not a kind of model for dynamic semantics a Static semantics 2 When it is

CMSC 330 Quiz 2 Ans..docx - CMSC 330 Quiz 2 1 Which of the...

This preview shows page 1 - 2 out of 2 pages.

CMSC 330 Quiz 2 1.Which of the following is not a kind of model for dynamic semantics? 2.When it is possible to produce two different parse trees for the same sentence using a particular grammar, what kind of grammar is that? 3.When a program violates a type checking rule of a language, its compiler will most likelygenerate which of the following kinds of error? 4.Which of the following is required to verify that a sentence is in a language defined by a grammar? 5.Which of the following types of productions will cause problems for a recursive descent parser? 6.Which of the following dynamic semantic models defines the meaning of a program by stating pre and postconditions?
Image of page 1
Image of page 2

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture