Classic
Quiz General knowledge

Quiz Syntax Diagram

18 played - 10 yrs ago

A popular method way of defining grammatical rules of a language or data type is to use a graphical method called Syntax Diagrams

 

Medium QUIZ 7 QUESTIONS
medium
1

State the Purpose of Syntax Diagrams :

2
The syntax diagram is used to define a variable in the language. Why is the expression %xy2 NOT a variable?

The syntax diagram is used to define a variable in the language. Why is the expression %xy2 NOT a variable?

3
The syntax diagram is used to define a variable in the language. Why is the expression %34 NOT a variable?

The syntax diagram is used to define a variable in the language. Why is the expression %34 NOT a variable?

4
In a Syntax Diagram, what does an arrow indicate?

In a Syntax Diagram, what does an arrow indicate?

5
What is this symbol called?

What is this symbol called?

6
In a Syntax Diagram, what does this show?

In a Syntax Diagram, what does this show?

7
Assuming Letters and Digits are defined as normal, a 'Thingy' is defined using the following syntax diagram. Which of the following are valid Thingies according to this definition?

Assuming Letters and Digits are defined as normal, a 'Thingy' is defined using the following syntax diagram. Which of the following are valid Thingies according to this definition?