The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
36 views

Doubt 1:

according to me L1 should be subset of L2. But answer is d) L1,L2,L3 are incomparable. Please explain this question to me

 

 

Doubt 2:

which type of language is L4?

asked in Theory of Computation by Active (1.9k points) | 36 views
+1
Doubt 1:

L1 should be subset of L2 for a,b,c and not for d

for 'd' L2 is a subset of L1

Doubt 2:

Anything with Kleen closer is regular

regular.CSL=CSL

1 Answer

0 votes
Q(1)  L1={$\varepsilon$,abcd,abcdd,aabbccdd,aabbccdddd,aabbccdddd,........}

L2={$\varepsilon$,aabbccd,aabbccdd,aaaabbbbccccd,aaaabbbbccccdd.........}

L3={$\varepsilon$,aabbcdd,aabbcccdd,................}

how can we say that$L2\subseteq L1$ or $L1\subseteq L2$ if it does then all the language generated by L2 must be in L1 or all the language which is generated by L1 must be in L1 but we can see all are generating different except some of string .

 

Q(2) it will be CSL
answered by Active (1.9k points)
0
for question 2 I also think it is CSL but answer given was Regular language.
0
any explanation given?
0
No. only answer is given


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

40,903 questions
47,555 answers
146,274 comments
62,304 users