Backus-Naur Form (BNF)

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Calum Gordon
Used 38+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What name is given to the rules that define how symbols can be replaced by other symbols?
Construction rules
Production rules
Definition rules
Establishing rules
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is an example of a production rule?
a → ab
R → (B → 5)
x + y2 → 17
x2 + 3y
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of object is enclosed in angle brackets <> in Backus-Naur Form?
Definitive
Terminal
Non-terminal
Special
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What name is given to an object in Backus-Naur form that does not have a corresponding rule with that object on the LHS?
Definitive
Terminal
Non-terminal
Special
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following examples is in valid Backus-Naur form for storing a multi-part name?
< Name> ::= < Name >
<Name> =:: <Forename> | <Surname>
<Name> ::= <Forename> <Surname>
<Name> ::= <Forename Surname>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it that Backus-Naur form is capable of representing some languages that cannot be represented by regular expressions?
Backus-Naur form supports sequence
Backus-Naur form supports recursion
Backus-Naur form supports selection
Backus-Naur form supports looping
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is represented by ellipses in BNF syntax diagrams?
Terminals
Non-Terminals
Selections
Definitions
Create a free account and access millions of resources
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade