Question #38166

Consider the languages
L1= {a^n b^n c^m | n,m > 0} and L2= {a^n b^m c^m | n,m > 0}

(A) L1 intersection L2 is a context-free language
(B) L1 union L2 is a context-free language
(C) L1 and L2 are context-free language
(D) L1 intersection L2 is a context sensitive language

Expert's answer

Answer on Question#38166 – Math - Other

L1L_{1} and L2L_{2} are context-free language, but L1L2L_{1} \cap L_{2} is not a context-free language. So we can see that all the answers are correct except (A). Hence (A) is correct option.

Answer: (A).


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS