Theory of Computation Flashcards
1
Q
What name is given to the rules that define how symbols can be replaced by other symbols?
A
Production rules
2
Q
What type of object is enclosed in angle brackets in BNF?
A
Non-terminal
3
Q
Why can BNF represent some languages that regular expressions can’t?
A
BNF supports recursion & languages with counting