Context free grammar is _____ grammar according to the Chomsky hierarchy.

2023

Context free grammar is _____ grammar according to the Chomsky hierarchy.

  1. A.

    Type 2

  2. B.

    Type 3

  3. C.

    Type 0

  4. D.

    Type 1

Attempted by 87 students.

Show answer & explanation

Correct answer: A

In Chomsky hierarchy, context-free grammars are Type-2 grammars.

Explore the full course: Niacl Ao It Specialist