Computer Sciences > Gate 2017 Set-1 > CFG
Consider the following languages over the alphabet ∑= {a,b,c}.
Let L1 ={anbncm | m, n >= 0 } and
L2 = {ambncn| m, n >= 0}.

Which of the following are context-free languages ?
I. L1 ∪ L2
II. L1 ∩ L2
A
I only
B
II only
C
I and II
D
Neither I nor II

Correct : a

Similar Questions

If G is grammar with productions S → SaS | aSb | bSa | SS | ∈ where S is the start variable, then which one of the following is not generated by G?
#178 MCQ
If G is grammar with productions S → SaS | aSb | bSa | SS | ∈ where S is the start variable, then which one of the following is not generated by G?
#178 MCQ
If G is grammar with productions S → SaS | aSb | bSa | SS | ∈ where S is the start variable, then which one of the following is not generated by G?
#178 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......