TOOLS AND TECHNIQUES FOR COMPILER DESIGN
MISCELLENOUS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Words such as if, then, else are examples for
|
terminals
|
|
non-terminals
|
|
productions
|
|
start symbol
|
Explanation:
Detailed explanation-1: -Terminal Symbols-Terminal symbols are the components of the sentences that are generated using grammar and are denoted using small case letters like a, b, c etc. Non-Terminal Symbols-Non-Terminal Symbols take part in the generation of the sentence but are not the component of the sentence.
Detailed explanation-2: -Non-terminals are syntactic variables that denote sets of strings. The non-terminals define sets of strings that help define the language generated by the grammar. A set of tokens, known as terminal symbols (). Terminals are the basic symbols from which strings are formed.
There is 1 question to complete.