All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · June 2024 (Re-Exam)

Arrange the following Language Classes in ascending order according to their expressive power, as defined by Chomsky hierarchy:

(A) Context-free languages

(B) Context-sensitive languages

(C) Regular languages

(D) Unrestricted Grammars

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. (C), (A), (B), (D)

Explanation

Regular ⊂ context-free ⊂ context-sensitive ⊂ unrestricted (recursively enumerable).

More Theory of Computation and Compilers questions