CSCI 316: Quiz 3 - Syntax and Semantics
Sign in to Google to save your progress. Learn more
Email *
Last Name *
First Name *
Student Id *
The primary purpose of a formal syntax description is to: *
1 point
Backus–Naur Form (BNF) is used to describe: *
1 point
In BNF, the symbol ::= means: *
1 point
In BNF, angle brackets (< >) are used to denote: *
1 point
A terminal symbol in a grammar is one that: *
1 point
A nonterminal symbol is best described as: *
1 point
Which of the following is true of a context-free grammar? *
1 point
A parse tree represents: *
1 point
Two different parse trees for the same string indicate: *
1 point
Ambiguity in a grammar is undesirable primarily because it: *
1 point
Which technique is commonly used to eliminate ambiguity in expressions? *
1 point
Extended BNF (EBNF) *
1 point
In EBNF, { X } means: *
1 point
In EBNF, [ X ] indicates that X: *
1 point
Static semantics primarily concerns: *
1 point
Which of the following is a static semantic rule? *
1 point
An attribute in an attribute grammar is used to: *
1 point
Which of the following is an example of an attribute? *
1 point
Semantics deals primarily with: *
1 point
Which semantic approach describes meaning by simulating execution? *
1 point
The primary advantage of denotational semantics is that it is: *
1 point
Axiomatic semantics is based on: *
1 point
In axiomatic semantics, a postcondition specifies: *
1 point
Which semantic method is most useful for proving program correctness? *
1 point
Which semantic method most closely resembles how interpreters work? *
1 point
Static semantics are usually enforced: *
1 point
Which of the following is NOT typically part of syntax description? *
1 point
Which approach to semantics is most abstract and implementation-independent? *
1 point
Attribute grammars help bridge the gap between: *
1 point
The main role this chapter topic is to: *
1 point
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report