Classic
Quiz General knowledge

Quiz Backus-Naur Form

90 played - 8 yrs ago

Explain the need for, and be able to create and apply BNF (Backus-Naur Form) and syntax diagrams.

 

Hard QUIZ 9 QUESTIONS
hard
1

What does : : = mean?

2

What is | ?

3

Which one is a recursive statement?

4

State the need for BNF.

5

: : = 0|1|2|3|4|5|6|8|9
: : = A|B|C|D|E
: : = |

State how the rules have been broken by the invalid staff code A2c?

6

State the purpose of syntax diagrams.

7
What does the arrow show in syntax diagram?

What does the arrow show in syntax diagram?

8

What do you call the circle in syntax diagram?

9

How do you read this diagram?