A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Consider the following languages :

L1 = {a^m b^n | m ≠ n}
L2 = {a^m b^n | m = 2n+1}
L3 = {a^m b^n | m ≠ 2n}

Which one of the following statement is correct?
a. Only L1 and L2 are context free languages
b. Only L1 and L3 are context free languages
c. Only L2 and L3 are context free languages
d. L1, L2 and L3 are context free languages
Answer:L1, L2 and L3 are context free languages
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: