Search Header Logo

Backus-Naur Form (BNF)

Authored by Calum Gordon

Computers

10th - 12th Grade

Used 39+ times

Backus-Naur Form (BNF)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

What is represented by ellipses in BNF syntax diagrams?

Terminals

Non-Terminals

Selections

Definitions

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?