All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · November 2021

Given below are two statements

Statement I: The family of context free languages is closed under homomorphism

Statement II: The family of context free languages is closed under reversal In light of the above statements, 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. Both Statement I and Statement II are true

Explanation

Context-free languages are closed under homomorphism and under reversal (reverse every production).

More Theory of Computation and Compilers questions