Exam-style question
Try this first
What does the symbol ::= usually mean in a BNF production rule?.
- A.Is defined as
- B.Must be repeated exactly twice
- C.Is optional
- D.Ends the language
Answer and explanation
Concise answer
Is defined as
Why this is correct
The symbol ::= separates a non-terminal from the alternatives or sequence that define it. For example, <digit> ::= "0" | "1" means that <digit> is defined as either "0" or "1".
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
