Quiz by Jakobho


Classic
Quiz General knowledge
General knowledge
7 QUESTIONS
Q1. State the Purpose of Syntax Diagrams :
A) To define terms ambiguously
B) To define terms unambiguously for a computer language
C) It is an unambiguous method of writing mathematical expressions without brackets
Q2. The syntax diagram is used to define a variable in the language. Why is the expression %xy2 NOT a variable?
A) Only 1 letter allowed, this has 2
B) Only 2 letters allowed, this has 1
C) It has a % at the start
Q3. The syntax diagram is used to define a variable in the language. Why is the expression %34 NOT a variable?
A) There are too many numbers
B) It has a % at the start
C) Letter missing, there must be one letter

Syntax Diagram

18 played - 11 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