Computer Science EngineeringVery hard

Deterministic context-free languages are closed under

  1. A. union
  2. B. complementation
  3. C. intersection
  4. D. concatenation

Correct answer: B. complementation

Complementing a DPCF language yields a deterministic CFL, but union, intersection and concatenation are not closed in general.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic