• edited by
1,041 views
0 0 votes

Given

$L_1=\{a^nb^nc^n | n\geq 0\}$
$L_2 =\{a^nb^mc^k|k=n+m  \text{  and  }n,m\geq 0 \}$
$L_3 =\{a^nb^mc^k|n,m,k \geq 0 \}$
Assume 
$L_4=L_1 (L_3)^*$
$L_5=(L_1\cap L_2)\cup L_3 $
Which of the following statement is correct?
A. L4 is regular and L5 is not regular
B. L4 is CFL and L5 is not CFL
C. Both L4, L5 are regular
D. Both L4, L5 are CFL but not regular

1 Answer

Position:
Show:

Related questions

1 1 vote
0 0 answers
1.3k
1.3k views
0 0 votes
0 0 answers
1.1k
1.1k views
hacker16 asked Dec 18, 2017
1,094 views
Let Ʃ = {a, b} and L = {anwan | n ≥ 1, w ∈ Ʃ*}.ThenL is context free but not regularL is not context free but regularL is context free as well as regularL is neither cont...
0 0 votes
0 0 answers
352
352 views
Misbah Ghaya asked Aug 18, 2022
352 views
Please list out the best free available video playlist for Regular and Context-free Languages Topic from Theory of compuation as an answer here (only one playlist per an...