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 of their expressive power, as defined by the Chomsky hierarchy:
(A) Context-free languages
(B) Context-sensitive languages
(C) Regular languages
(D) Unrestricted grammars (recursively enumerable)
Choose the correct answer from the options given below:

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 ⊂ recursively enumerable (unrestricted).

More Theory of Computation and Compilers questions