Ambiguous
grammar is not context free grammar.()
A: True
B: False
grammar is not context free grammar.()
A: True
B: False
举一反三
- Every<br/>grammar can be rewritten to LL(1) grammar. ( ) A: True B: False
- Generally<br/>speaking, grammar can be divided into theoretical grammar and<br/>pedagogical grammar. Besides, there seems to be a shift from<br/>prescriptive grammar to descriptive grammar in terms of teaching<br/>grammar. ( <br/>)
- Grammar can be divided into four types: Type 0, type 1, type 2 and type 3. The 0-type grammar is (). A: Phrasal grammar B: Regular grammar C: Context -sensitive grammar D: Context -free grammar
- Among<br/>the four formal language grammars, type-1 grammar is also called ()<br/>grammar. A: Phrase structure grammar B: Context-free grammar C: Context-related grammar D: Regular grammar
- Chomsky divides grammar into four types, namely type 0, type 1, type 2, and type 3. The type 3 grammar is( )。 A: Unrestricted<br/>grammar B: Regular<br/>grammar C: Context-sensitive grammar D: Context-free grammar