Statement: A digit, when used in the CFG notation, will always be used as a terminal. State true or false?

Ẽm Thư

New member
Statement: A digit, when used in the CFG notation, will always be used as a terminal.
State true or false?
A. True
B. False
 
Answer: A
Explanation: Lowercase letters near the beginning of an alphabet, a, b and so on are terminal symbols. We shall also assume that digits and other characters such as + or parenthesis are terminals.
 

Tìm kiếm

Back
Top