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