in Others edited by
516 views
0 votes
0 votes

Consider the following statements about Context Free Language $\text{(CFL)}$ :
Statement I:  $\text{CFL}$ is closed under homomorphism.
Statement II: $\text{CFL}$ is closed under complement.

Which of the following is correct?

  1. Statement $\text{I}$ is true and Statement II is false
  2. Statement $\text{II}$ is true and Statement $\mathrm{I}$ is false
  3. Both Statement $\text{I}$ and Statement $II$ are true
  4. Neither Statement $\text{I}$ nor Statement $\text{II}$ is true
in Others edited by
by
516 views

2 Comments

CFL are not closed under three operation

set difference ,complimentation ,intersection

and closed under all operation  

so statement first is correct and second is wrong
1
1
Option C should be correct. Please check again
0
0

1 Answer

1 vote
1 vote
Best answer

CFL is not closed under complement, intersection and difference operation. it is closed under homomorphism operation.

so statement I is true and II is false. Option (A) is correct.

REF:Closure Property of Language Families

selected by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true