Classic
Quiz General knowledge

BNF quiz

170 played - 8 yrs ago

A quiz on BNF

 

Expert QUIZ 9 QUESTIONS
expert
1

What does BNF stand for?

2

What would you use to define a BNF syntax?

3

What does : : = A|B|C|D|E|F mean?

4

State the need for BNF.

5

In a syntax diagram, how would a symbol be represented?

6

A certain BNF syntax has defined 0|1|2|3|4 as inclusive and has defined W|X|Y|Z as inclusive, and can use one letter but any amount of numbers. Which one of these violates the rules?

7

A certain BNF syntax can be defined with any number, a + sign, followed by another number. Is A+B defined?

8

On a syntax diagram, how would an unlimited amount of a certain data type be represented?

9

At what stage is BNF used?