retagged by
718 views
5 votes
5 votes

Consider

  • $L_1 = \left\{a^nb^nc^md^m \mid m,n \ge 1\right\}$
  • $L_2 = \left\{a^nb^n \mid n \ge1\right\}$
  • $L_3 = \left\{(a+b)^*\right\}$


Intersection of $L_1$ and $L_2$ is

(A) Regular (B) CFL but not regular (C) CSL but not CFL (D) None of these
 

retagged by

2 Answers

Best answer
9 votes
9 votes
Regular.
 $L_1 \cap  L_2$
 $= \{abcd,aabbcd,aaabbbccdd,\dots\} \cap \{ab, aabb, aaabbb,\dots\}$
 $= \emptyset.$
selected by

Related questions

2 votes
2 votes
3 answers
1
Arjun asked Apr 28, 2016
708 views
Consider$L_1 = \left\{a^nb^nc^md^m \mid m,n \ge 1\right\}$$L_2 = \left\{a^nb^n \mid n \ge1\right\}$$L_3 = \left\{(a+b)^*\right\}$$L_1$ - $L_3$ is(A) Regular (B) CFL but n...
2 votes
2 votes
1 answer
3
VS asked Jan 24, 2018
573 views
L={ xy | x,y$\epsilon$ (a+b)*, na(x) = nb(y) }
5 votes
5 votes
0 answers
4
Himanshu1 asked Oct 31, 2015
575 views
L = {anbm | n mod m = 0 , n>=0 , m>0} Given language isA) CFLB) CSLC) DCFLD) RECE) RE