Send
Close Add comments:
(status displays here)
Got it! This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Q9: Quiz#9: EBNF to syntax diagrams and BNF form
1. Q9: EBNF to syntax diagrams and BNF form
38: Quiz#9: EBNF to syntax diagrams and BNF form , Name: ___________________________
CS 340, Fall 2019, York College of Pennsylvania
41, 20 points, 2019-11-19 (at start of class)
Given a small EBNF grammar specification, do the following.
Draw the syntax charts for the equivalent EBNF grammar (as done in class and in the nodes).
Convert the EBNF grammar to an equivalent BNF grammar (as done in class and in the nodes)
In both parts, do not change the production or terminal or variable names. For the BNF, add production and variable names as needed. Production:
(omitted)
2. Relevant content
Relevant content in the notes includes, but is not limited to, the following.
EBNF
EBNF to BNF
3. General comments
Here are some general comments.
For syntax diagrams, terminals use ovals while variables/nonterminals use rectangles.
4. Post-quiz question and solution
5. Scoring rubric
CS 340 - Q9 : Quiz#9: EBNF to syntax diagrams and BNF form
Your grade: _ / 20
[LATE] Late or redo penalty: _ / -20
syntax diagrams: _ / 10
BNF grammar: _ / 10
[CREDIT] Extra credit: _ / +4
Comments:
6. End of page