Context free grammar is _____ grammar according to the Chomsky hierarchy.
2023
Context free grammar is _____ grammar according to the Chomsky hierarchy.
Answer: A. Type 2 — In Chomsky hierarchy, context-free grammars are Type-2 grammars.
- A.
Type 2
- B.
Type 3
- C.
Type 0
- D.
Type 1
Attempted by 615 students.
Show answer & explanation
Correct answer: A
In Chomsky hierarchy, context-free grammars are Type-2 grammars.
Loading lesson…