Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged dcfl
1
votes
0
answers
31
DCFL01
What is DCFL U Regular ? Every Regular lang is DCFL , That means DCFL U DCFL = not DCFL ? since DCFL's are not closed under union
What is DCFL U Regular ?Every Regular lang is DCFL ,That means DCFL U DCFL = not DCFL ?since DCFL's are not closed under union
Anjan
367
views
Anjan
asked
Jan 19, 2018
Theory of Computation
theory-of-computation
dcfl
+
–
2
votes
0
answers
32
Intersection of two DCFLs
$ L_1\ =\ \{ \ a^mb^mb^na^n | m,n\ >\ 0\}\\ L_2\ =\ \{ \ a^mb^na^nb^m | m,n\ >\ 0\}$ Find $L_1 \cap L_2$
$ L_1\ =\ \{ \ a^mb^mb^na^n | m,n\ >\ 0\}\\ L_2\ =\ \{ \ a^mb^na^nb^m | m,n\ >\ 0\}$Find $L_1 \cap L_2$
Tuhin Dutta
745
views
Tuhin Dutta
asked
Jan 18, 2018
Theory of Computation
theory-of-computation
dcfl
+
–
2
votes
0
answers
33
Self Doubt
Can Anyone please explain the difference between DCFL and NDCGL with 4-5 good and tricky,complex examples.
Can Anyone please explain the difference between DCFL and NDCGL with 4-5 good and tricky,complex examples.
ankit_thawal
208
views
ankit_thawal
asked
Jan 13, 2018
Theory of Computation
dcfl
+
–
2
votes
3
answers
34
Is the following language CFL?
Not able to understand whether it is CFL or not due to the condition 'm>=481'.
Not able to understand whether it is CFL or not due to the condition 'm>=481'.
Ashish Sharma 3
1.6k
views
Ashish Sharma 3
asked
Dec 22, 2017
Theory of Computation
theory-of-computation
context-free-language
pushdown-automata
dcfl
+
–
1
votes
2
answers
35
DCFL or not??
$L1 = \bigl\{a^mb^nc^pd^q \mid m+q = n+p \bigr\}$ $L2 = \bigl\{a^mb^nc^pd^q \mid m+p = n+q \bigr\}$ 1. L1 is DCFL, L2 is not 2. L2 is DCFL, L1 is not 3. Both are not DCFL 4. Both are DCFL
$L1 = \bigl\{a^mb^nc^pd^q \mid m+q = n+p \bigr\}$$L2 = \bigl\{a^mb^nc^pd^q \mid m+p = n+q \bigr\}$1. L1 is DCFL, L2 is not2. L2 is DCFL, L1 is not3. Both are not DCFL...
atul_21
865
views
atul_21
asked
Dec 21, 2017
Theory of Computation
dcfl
pushdown-automata
context-free-language
+
–
1
votes
1
answer
36
is it DCFL OR NOT?
pranab ray
706
views
pranab ray
asked
Dec 9, 2017
Theory of Computation
theory-of-computation
dcfl
+
–
0
votes
1
answer
37
DCFL or not
Consider the following languages: L1={abna2n|n>=0} L2={aabna3n|n>=0} Why L1UL2 is DCFL please explain?
Consider the following languages:L1={abna2n|n>=0}L2={aabna3n|n>=0}Why L1UL2 is DCFL please explain?
shivangi5
877
views
shivangi5
asked
Dec 2, 2017
Theory of Computation
theory-of-computation
dcfl
context-free-language
+
–
1
votes
2
answers
38
(DCFL U Reg) '
Hi Guys, What will be ${\left ( DCFL \cup Regular \right )} '$ ?
Hi Guys,What will be ${\left ( DCFL \cup Regular \right )} '$ ?
Chhotu
1.5k
views
Chhotu
asked
Nov 11, 2017
Theory of Computation
dcfl
regular-expression
+
–
6
votes
1
answer
39
DCFL or NOT
Consider the follwoing Language L1= {0n1*0n | n>0} is DCFL or Not? L2= {0n1+0n | n>0} is DCFL or Not?
Consider the follwoing LanguageL1= {0n1*0n | n>0} is DCFL or Not?L2= {0n1+0n | n>0} is DCFL or Not?
Anu007
1.2k
views
Anu007
asked
Nov 4, 2017
Theory of Computation
theory-of-computation
dcfl
+
–
5
votes
1
answer
40
TOC Test Series
Consider the languages (I) L1= {w#x , where w,x ∈ (0+1)* and # is a special character and w is a prefix of x } . (II) L2={w#x , where w,x ∈ (0+1)* and # is a special character and wR, is a prefix of x}. (III) L3={w#x , where w,x ∈ (0+1)* and # is a ... (II) and (III) is DCFL (I) and (IV) is recursive but not CFL. (I) is recursive , (II) is DCFL , (III) and (IV) are CFL but not DCFL
Consider the languages(I) L1= {w#x , where w,x ∈ (0+1)* and # is a special character and w is a prefix of x } .(II) L2={w#x , where w,x ∈ (0+1)* and # is a special ch...
sunil sarode
928
views
sunil sarode
asked
Oct 14, 2017
Theory of Computation
theory-of-computation
dcfl
recursive-and-recursively-enumerable-languages
+
–
6
votes
1
answer
41
DCFL,AMBIGUITY
junaid ahmad
2.5k
views
junaid ahmad
asked
Sep 26, 2017
Theory of Computation
theory-of-computation
dcfl
+
–
1
votes
3
answers
42
Draw PDA for this
L = {cambndn} Please draw PDA for this Language!
L = {cambndn} Please draw PDA for this Language!
iarnav
1.6k
views
iarnav
asked
Sep 19, 2017
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
dcfl
+
–
1
votes
1
answer
43
DCFL, LR(k), 2DFA
Let L1 be a language from DCFL, L2 be from LR(k) grammar, and L3 be a language accepted by 2DFA. Choose the correct statement, 1) There is no algorithm to decide if L1⋂L2 is empty. 2) L1 = L2. 3) L2 = L3. 4) A problem of L1 = L3 is undecidable.
Let L1 be a language from DCFL, L2 be from LR(k) grammar, and L3 be a language accepted by 2DFA.Choose the correct statement,1) There is no algorithm to decide if L1⋂L2...
AnilGoudar
440
views
AnilGoudar
asked
Sep 18, 2017
Theory of Computation
theory-of-computation
context-free-language
dcfl
+
–
2
votes
1
answer
44
DCFL and NDCFL
How to identify whether given CFL is either Deterministic or Non-Deterministic? I am getting confused here. I have analysed the above problem like this, DCFL - DPDA - If we are sure about when to push an input alphabet to stack and pop from a stack. NDCFL - NPDA - We are ... pop from the stack. If my understanding is wrong, please correct me. Is L = {a^n | n>=1 } is NPDA or PDA?
How to identify whether given CFL is either Deterministic or Non-Deterministic?I am getting confused here.I have analysed the above problem like this, DCFL - DPDA - If we...
AnilGoudar
1.5k
views
AnilGoudar
asked
Sep 17, 2017
Theory of Computation
theory-of-computation
context-free-language
dcfl
+
–
0
votes
1
answer
45
UNION of two Languages
L={an∣n≥0} U {anbn∣n≥0} What will be the result? How's it's DCFL? Please explain with an example! Thanks
L={an∣n≥0} U {anbn∣n≥0}What will be the result? How's it's DCFL? Please explain with an example! Thanks
iarnav
583
views
iarnav
asked
Sep 15, 2017
Theory of Computation
theory-of-computation
dcfl
+
–
4
votes
1
answer
46
Is the following language DCFL?
L={anbpcan ∣p,n>0}∪{anbpdbp ∣p,n>0}
L={anbpcan ∣p,n>0}∪{anbpdbp ∣p,n>0}
Durgesh Singh
1.4k
views
Durgesh Singh
asked
Aug 17, 2017
Theory of Computation
theory-of-computation
context-free-language
dcfl
+
–
1
votes
0
answers
47
How these languages are DCFL
L1 = {anbncm} U {cambndn} L2= {anbn} U {xanb2n}
L1 = {anbncm} U {cambndn}L2= {anbn} U {xanb2n}
Durgesh Singh
802
views
Durgesh Singh
asked
Aug 15, 2017
Theory of Computation
theory-of-computation
context-free-language
dcfl
+
–
2
votes
2
answers
48
DCFL or CFL
{w| number of Zeros=number of Ones} Alphabet= {0,1} It is a CFL for sure. But,is it also a DCFL i.e. can we construct a DPDA for it? My Approach:: for 0 push in stack , for 1's pop ---> In end stack should be empty Hence, a DCFL. But, eg given string :: 1100 Now,for 1's pop but, nothing in stack to pop .... STUCK HERE !!
{w| number of Zeros=number of Ones} Alphabet= {0,1}It is a CFL for sure. But,is it also a DCFL i.e. can we construct a DPDA for it?My Approach::for 0 push in stack , for ...
VS
489
views
VS
asked
Aug 8, 2017
Theory of Computation
theory-of-computation
dcfl
+
–
1
votes
1
answer
49
Design PDA for
Design PDA for i) L={a^n b^m c^n|m,n>=1} ii) L={a^m b^n c^p|m+n=p} iii) L={a^i b^i c^j|i,j=1} iv) L={a^i b^j c^j|i,j>=1} I have made an attempt to draw pda Please can someone crosscheck the answer?
Design PDA for i) L={a^n b^m c^n|m,n>=1}ii) L={a^m b^n c^p|m+n=p}iii) L={a^i b^i c^j|i,j=1}iv) L={a^i b^j c^j|i,j>=1}I have made an attempt to draw pda Please can someone...
pricool84
2.1k
views
pricool84
asked
Aug 6, 2017
Theory of Computation
theory-of-computation
pushdown-automata
context-free-language
dcfl
+
–
1
votes
0
answers
50
TOC DCFL
I need to build for :- Language over a,b where the string start and end with same symbol and it should have equal number of a and b?I know how to build for equal number of a and b.But how can i make sure that start/ending symbol is same?I know this can be done with Fa part of DPDA,but i am not able to adjust that?Can someone please help?
I need to build for :- Language over a,b where the string start and end with same symbol and it should have equal number of a and b?I know how to build for equal number ...
rahul sharma 5
503
views
rahul sharma 5
asked
Aug 5, 2017
Theory of Computation
theory-of-computation
dcfl
+
–
5
votes
2
answers
51
TOC DCFL vs CFL
1. L ={ a^n b^m c^x d^y | n=m or x=y} 2. L ={ a^n b^x c^m d^y | n=m or x=y} Classify above in CFL/DCFL?
1. L ={ a^n b^m c^x d^y | n=m or x=y}2. L ={ a^n b^x c^m d^y | n=m or x=y}Classify above in CFL/DCFL?
rahul sharma 5
3.4k
views
rahul sharma 5
asked
Aug 1, 2017
Theory of Computation
theory-of-computation
context-free-language
dcfl
+
–
3
votes
2
answers
52
is palindrome of even length is DCFL?
how to determine that this is not in DCFL and also for the odd length palindrome language as well,
how to determine that this is not in DCFL and also for the odd length palindrome language as well,
akhileshreddy
1.5k
views
akhileshreddy
asked
Jul 17, 2017
Theory of Computation
dcfl
theory-of-computation
context-free-language
+
–
1
votes
2
answers
53
Toc CFL DCfL
Caption Is this CFL or DCFL or not CFL
CaptionIs this CFL or DCFL or not CFL
Nitesh Choudhary
489
views
Nitesh Choudhary
asked
Jul 13, 2017
Theory of Computation
theory-of-computation
dcfl
context-free-language
+
–
6
votes
3
answers
54
DCFLs
S1: Every DCFL has unambiguous grammar S2: Every language accepted by DPDA with final state is also accepted by DPDA with empty stack S1 is given as true and S2 false. Explain how?!
S1: Every DCFL has unambiguous grammarS2: Every language accepted by DPDA with final state is also accepted by DPDA with empty stackS1 is given as true and S2 false.Expla...
just_bhavana
3.4k
views
just_bhavana
asked
Jul 4, 2017
Theory of Computation
theory-of-computation
dcfl
unambiguous-grammar
+
–
4
votes
1
answer
55
CFL and DCFL
If L1 = { anbncm | n.m >0 } L2 = { anbmcm | n, m > 0} Which of these following are false? 1) L1 ∩ L2 is CFL. 2) L1 ∪ L2 is CFL. 3) L1 and L2 are CFL. 4) L1 ∩ L2 is CSL. I think (1) is FALSE as L1 ∩ L2 becomes CSL. PLease correct me if iam wrong.
If L1 = { anbncm | n.m >0 }L2 = { anbmcm | n, m 0}Which of these following are false?1) L1 ∩ L2 is CFL.2) L1 ∪ L2 is CFL.3) L1 and L2 are CFL.4) L1 ∩ L2 is CSL...
AnilGoudar
1.6k
views
AnilGoudar
asked
Jun 5, 2017
Theory of Computation
theory-of-computation
dcfl
closure-property
+
–
1
votes
0
answers
56
Is the expressive power of LeftRecursive grammar equivalent to RightRecursive Grammar?
Can every left recursive grammar be converted to right recusrive grammar? We have rules for that. So I think the ans is YES. Do every DCFL has LL(1) grammar?? If a language is DCFL implies it is unambiguous ... to one correspondence with LR(1) grammar why does it not have one to one correspondence with LL(1) ?
Can every left recursive grammar be converted to right recusrive grammar?We have rules for that. So I think the ans is YES. Do every DCFL has LL(1) grammar??If a language...
yg92
329
views
yg92
asked
Feb 8, 2017
Compiler Design
compiler-design
parsing
dcfl
+
–
0
votes
1
answer
57
Decidablity+DCFL
I) L-R where L is DCFl and R is regular. Is L-R also DCFL decidable or not??? II)If L1 is reducible to L2 and L2 is non-RE then L1 is also Non-RE??? III) If L1 is reducible to L2 and L1 is non-RE then L2 is also non-RE??
I) L-R where L is DCFl and R is regular. Is L-R also DCFL decidable or not???II)If L1 is reducible to L2 and L2 is non-RE then L1 is also Non-RE??? III) If L1 is reducibl...
Rahul Jain25
827
views
Rahul Jain25
asked
Feb 7, 2017
Theory of Computation
theory-of-computation
decidability
dcfl
closure-property
regular-language
recursive-and-recursively-enumerable-languages
+
–
4
votes
1
answer
58
MadeEasy Subject Test: Theory of Computation - Identify Class Language
$L={{0^{l}1^{m}0^{l+m}| l, m\geq 0}}$ Is it DCFL? Explain?
$L={{0^{l}1^{m}0^{l+m}| l, m\geq 0}}$Is it DCFL? Explain?
Meghashyam Sujay
1.0k
views
Meghashyam Sujay
asked
Dec 29, 2016
Theory of Computation
made-easy-test-series
theory-of-computation
dcfl
identify-class-language
+
–
5
votes
4
answers
59
CFL or not ?
I'm having problems with identifying CFL languages a lot recently.I understand L1 is not , but how come L2 is ? Understood 1 stack is enough but aren't there two comparisons ? Or that doesn't matter you can do any number of comparisons ? ... comparisons are needed n<k and k<2n. Any other fixed formula , to identify class of language which acts as easy guideline ?
I'm having problems with identifying CFL languages a lot recently.I understand L1 is not , but how come L2 is ? Understood 1 stack is enough but aren't there two comparis...
vishal8492
3.3k
views
vishal8492
asked
Dec 4, 2016
Theory of Computation
theory-of-computation
context-free-language
dcfl
+
–
0
votes
3
answers
60
CFL or not
It seemed like , this is textbook example of non-CFL language ; will require 2 comparisons . That means no complement exist was the answer , I was expecting. Why answer given is CFL , am I missing something ?
It seemed like , this is textbook example of non-CFL language ; will require 2 comparisons . That means no complement exist was the answer , I was expecting. Why answer g...
vishal8492
605
views
vishal8492
asked
Dec 4, 2016
Theory of Computation
theory-of-computation
context-free-language
finite-automata
dcfl
+
–
Page:
« prev
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register