Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Theory of Computation:
Recent questions tagged theory-of-computation
–1
votes
0
answers
2821
How i) is correct??
kash0611
320
views
kash0611
asked
Oct 22, 2017
Theory of Computation
theory-of-computation
regular-expression
+
–
3
votes
1
answer
2822
self doubt
DOES TURING MACHINE ACCEPT EPSILON IS THIS PROBLEM DECIDABLE ?? PLEASE SOME ONE CLARIFY THIS
DOES TURING MACHINE ACCEPT EPSILON IS THIS PROBLEM DECIDABLE ??PLEASE SOME ONE CLARIFY THIS
Venkat Sai
211
views
Venkat Sai
asked
Oct 22, 2017
Theory of Computation
theory-of-computation
+
–
3
votes
1
answer
2823
DPDA: One Liners
1) Can a Deterministic PDA has two epsilon transition each reading different Stack symbol to perform a transition? 2) Can a transition be performed without reading Stack symbol at all. Like $ a, λ/ λ$?
1) Can a Deterministic PDA has two epsilon transition each reading different Stack symbol to perform a transition?2) Can a transition be performed without reading Stack s...
AskHerOut
739
views
AskHerOut
asked
Oct 22, 2017
Theory of Computation
theory-of-computation
pushdown-automata
dpda
+
–
3
votes
2
answers
2824
GA TesT
Designer mealy machine to decrement a binary number by 1
Designer mealy machine to decrement a binary number by 1
Kuldeep Pal
4.9k
views
Kuldeep Pal
asked
Oct 22, 2017
Theory of Computation
theory-of-computation
+
–
3
votes
1
answer
2825
Self doubt
Design a dfa in which accepts all the strings in which every prefix the difference of 0 and 1 is not more than 2?
Design a dfa in which accepts all the strings in which every prefix the difference of 0 and 1 is not more than 2?
Kuldeep Pal
410
views
Kuldeep Pal
asked
Oct 22, 2017
Theory of Computation
theory-of-computation
+
–
2
votes
2
answers
2826
Some Questions on Decidabilty
1) Is it decidable whether a given Turing machine accepts any string at all? That is, is L(M) not equal to ∅? 2) Is it decidable whether a given Turing machine accepts all strings? That is, is L(M) = A*? 3) Is it decidable whether a given ... don't know. Please tell. 2) Is it Completeness Problem? If yes, then its UD. 3) Finiteness Problem and it's UD 4) UD
1) Is it decidable whether a given Turing machine accepts any string at all? That is, is L(M) not equal to ∅? 2) Is it decidable whether a given Turing machine accepts...
iarnav
1.0k
views
iarnav
asked
Oct 22, 2017
Theory of Computation
theory-of-computation
decidability
turing-machine
+
–
2
votes
0
answers
2827
Decidabilty Question
We know given a TM (M) accepts an null string ϵ is an UD problem. Hence, L(M) will never be Recursive, but is it R.E? I mean, TM (M) can accept epsilon when it can go to an accept state on "B" on input tape. So, does it make it Semi-decidable and hence R.E? Thank you! Note/Credits: Blue line is copied from Arjun Sir's answer. Source - here
We know given a TM (M) accepts an null string ϵ is an UD problem.Hence, L(M) will never be Recursive, but is it R.E? I mean, TM (M) can accept epsilon when it can go to ...
iarnav
308
views
iarnav
asked
Oct 22, 2017
Theory of Computation
theory-of-computation
finite-automata
context-free-language
decidability
+
–
3
votes
1
answer
2828
is there many languages for a grammar or viceversa .Which one is right ?
hem chandra joshi
244
views
hem chandra joshi
asked
Oct 21, 2017
Theory of Computation
theory-of-computation
+
–
1
votes
0
answers
2829
Doubt regarding Turing Machine
I have read that T.M does not accept ε , but then in questions I have read T.M taking input ε ? Well, if T.M can't accept ε then why we are giving T.M the input ε ? Thank you!
I have read that T.M does not accept ε , but then in questions I have read T.M taking input ε ?Well, if T.M can't accept ε then why we are giving T.M the input ε ?Th...
iarnav
712
views
iarnav
asked
Oct 17, 2017
Theory of Computation
theory-of-computation
turing-machine
self-doubt
decidability
+
–
3
votes
1
answer
2830
Closure Property
L3 and L4 are CFL,L5 is regular. L1=(L3 Union L4)c L2=(L3R Union L4) Intersection L5 L1 and L2 are a.Both CFL b.CSL and CFL c.Recursive and CFL d.None of these
L3 and L4 are CFL,L5 is regular.L1=(L3 Union L4)cL2=(L3R Union L4) Intersection L5L1 and L2 area.Both CFLb.CSL and CFLc.Recursive and CFLd.None of these
Mohammed Sumair
534
views
Mohammed Sumair
asked
Oct 14, 2017
Theory of Computation
theory-of-computation
closure-property
+
–
7
votes
0
answers
2831
Decidablity problem.
Is L(G) subset of L(R) decidable ? Where G is CFG and R is regular grammar. Problem can be reduced to checking if L(G) $\cap$ ( L(R))' = phi. Now L(R)' is regular, so it also CFL and determining whether L(G1) $\cap$ L(G2) = phi is known to be undecidable where L(G1) and L(G2) are CFL's . So above problem should also be undecidable. Where am I going wrong ?
Is L(G) subset of L(R) decidable ? Where G is CFG and R is regular grammar.Problem can be reduced to checking if L(G) $\cap$ ( L(R))' = phi.Now L(R)' is regular, so it al...
Xylene
1.8k
views
Xylene
asked
Oct 14, 2017
Theory of Computation
decidability
theory-of-computation
+
–
1
votes
1
answer
2832
Theory of Computation - Find context-free grammars for the following language
Find a context-free grammar for the following language (with n ≥ 0, m ≥ 0): L = {anwwRbn : w ∈ {a, b} ∗ , n ≥ 1}.
Find a context-free grammar for the following language (with n ≥ 0, m ≥ 0):L = {anwwRbn : w ∈ {a, b} ∗ , n ≥ 1}.
Garrett McClure
992
views
Garrett McClure
asked
Oct 14, 2017
Theory of Computation
theory-of-computation
finite-automata
context-free-language
+
–
3
votes
0
answers
2833
Closure Properties
Which of the following are closed/ not closed under infinite Union? a.DCFL b.CFL c.CSL d.Recursive Languages e.Recursively enumerable languages
Which of the following are closed/ not closed under infinite Union?a.DCFLb.CFLc.CSLd.Recursive Languagese.Recursively enumerable languages
Mohammed Sumair
425
views
Mohammed Sumair
asked
Oct 14, 2017
Theory of Computation
closure-property
theory-of-computation
+
–
5
votes
1
answer
2834
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
+
–
4
votes
1
answer
2835
Turing Machine Decidability Question
L1= {⟨M⟩| M is a TM and |L(M)| = 5 }. we know about at least and at most case, but someone explain equal to case. Furthermore, I'll complie more questions in same thread only. L2= {⟨M⟩| M is a TM and M does not accept all even numbers}. L3 = {⟨M⟩| M is a TM and M reject all even numbers}.
L1= {⟨M⟩| M is a TM and |L(M)| = 5 }. we know about at least and at most case, but someone explain equal to case.Furthermore, I'll complie more questions in same thre...
iarnav
1.8k
views
iarnav
asked
Oct 14, 2017
Theory of Computation
theory-of-computation
turing-machine
decidability
+
–
0
votes
1
answer
2836
Converting NFA to DFA
Is it possible to convert a NFA having 'n' states to some DFA having less than 'n' states?
Is it possible to convert a NFA having 'n' states to some DFA having less than 'n' states?
kash0611
1.4k
views
kash0611
asked
Oct 14, 2017
Theory of Computation
finite-automata
theory-of-computation
+
–
0
votes
0
answers
2837
self doubt
is implementation of LBA for CSL not possible ?????? is Context sensitive grammer used for type checking ??
is implementation of LBA for CSL not possible ??????is Context sensitive grammer used for type checking ??
Venkat Sai
212
views
Venkat Sai
asked
Oct 14, 2017
Theory of Computation
theory-of-computation
+
–
1
votes
0
answers
2838
Automata: Conversion from CFG to CNF
Convert the following context free grammar into Chomsky Normal Form: $S \rightarrow ASA | aB$ $A \rightarrow B | S$ $B \rightarrow b | \epsilon$ Does the appearance of starting symbol S at RHS impacts the conversion from CFG to CNF?
Convert the following context free grammar into Chomsky Normal Form:$S \rightarrow ASA | aB$$A \rightarrow B | S$$B \rightarrow b | \epsilon$Does the appearance of start...
Manu Thakur
4.5k
views
Manu Thakur
asked
Oct 13, 2017
Theory of Computation
theory-of-computation
context-free-language
conjunctive-normal-form
simplification
+
–
0
votes
0
answers
2839
Doubt
Suppose we did a cross product of two DFAs: Let the two DFAs be M1 and M2 accepting regular languages L1 and L2 M1 = (Q1, Σ, δ1, q01 , F1) M2 = (Q2, Σ, δ2, q02 , F2) We want to construct DFA M = (Q, Σ, δ, q0, F) that recognize L1 ∪ L2 then final states set will be F = {(q1, q2)|q1 ∈ F1 or q2 ∈ F2} L1 Θ L2 (Symmetric Difference) What will be the final states for this?
Suppose we did a cross product of two DFAs:Let the two DFAs be M1 and M2 accepting regular languages L1 and L2 M1 = (Q1, Σ, δ1, q01 , F1) M2 = (Q2, Σ, δ2, q02 , F2)...
Shivam Chauhan
270
views
Shivam Chauhan
asked
Oct 13, 2017
Theory of Computation
cross-product
theory-of-computation
+
–
1
votes
0
answers
2840
Automata: Number of Productions in the CFG
Consider the following context free grammar: $S \rightarrow ASA | aB$ $A \rightarrow B | S$ $B \rightarrow b | \epsilon$ How many productions will be there in the modified grammar if we remove null-productions and unit-productions from this ... $B \rightarrow b$ I am getting 12 productions. can someone please confirm if it's correct?
Consider the following context free grammar:$S \rightarrow ASA | aB$$A \rightarrow B | S$$B \rightarrow b | \epsilon$How many productions will be there in the modified g...
Manu Thakur
2.7k
views
Manu Thakur
asked
Oct 13, 2017
Theory of Computation
theory-of-computation
context-free-language
simplification
+
–
3
votes
1
answer
2841
Regular Language
Consider the following languages: $L_{1}= \big\{0^{n+m} \ 1^{k+l}\ | \ m=l, m,n,k,l \geq 1 \big\} $ $ L_{2}= \big\{0^{n} \big(1^ {2}\big)^{m}\ | \ m,n\geq 0 \big\} $ Which of the following is true? $L_{1}$ is regular but not $L_{2}$ $L_{2}$ is regular but not $L_{1}$ $L_{1}$ and $L_{2}$ are not-regular $L_{1}$ and $L_{2}$ are regular Is L1 regular ?
Consider the following languages: $L_{1}= \big\{0^{n+m} \ 1^{k+l}\ | \ m=l, m,n,k,l \geq 1 \big\} $$ L_{2}= \big\{0^{n} \big(1^ {2}\big)^{m}\ | \ m,n\geq 0 \big\} $Whic...
junaid ahmad
365
views
junaid ahmad
asked
Oct 12, 2017
Theory of Computation
theory-of-computation
regular-language
+
–
5
votes
3
answers
2842
TOC: Number of states in minimum DFA
I think, there will be 4 states in minimum DFA, following states will be merged in the resulted DFA {q0&q3}, {q4&q5}, {q1&q6}, {q2&q7}
I think, there will be 4 states in minimum DFA, following states will be merged in the resulted DFA{q0&q3}, {q4&q5}, {q1&q6}, {q2&q7}
Manu Thakur
2.2k
views
Manu Thakur
asked
Oct 9, 2017
Theory of Computation
minimal-state-automata
theory-of-computation
finite-automata
+
–
4
votes
1
answer
2843
Computation Theory - Show that the family of regular languages is closed under tail(L) = {y : xy ∈ L for some x ∈ Σ ∗ }
The tail of a language is the set of all suffixes of its strings, that is tail(L) = {y : xy ∈ L for some x ∈ Σ ∗ }.How do I show that the family of regular languag...
Garrett McClure
1.3k
views
Garrett McClure
asked
Oct 9, 2017
Theory of Computation
theory-of-computation
regular-language
finite-automata
regular-expression
+
–
7
votes
2
answers
2844
Modified GATE2014-2-36
Let $L=\left \{ w\in\{0,1\}^* | \text{number of occurances of }(110)=\text{number of occurances of}(011) \right \}$ What is $L$? I think $L$ is regular . Regular expression is -: $L=\left \{ 0^{*}+1^{*}+\left ( \left ( \varepsilon +0+1 \right ) \left ( \varepsilon +0+1 \right ) \right ) + 0^{*}\left ( 0110 \right )^*0^{*}+1^* \left ( 11011 \right )^{*}1^{*} \right \}$
Let $L=\left \{ w\in\{0,1\}^* | \text{number of occurances of }(110)=\text{number of occurances of}(011) \right \}$What is $L$?I think $L$ is regular .Regular expressio...
sourav.
1.4k
views
sourav.
asked
Oct 9, 2017
Theory of Computation
theory-of-computation
regular-language
normal
+
–
0
votes
1
answer
2845
Removing E productions
We need to remover E productions from the grammar Vertices-{A,B,C,S} Terminals={a,b,c,E} S->ABAC A->aA/E B->bB/E C->c
We need to remover E productions from the grammarVertices-{A,B,C,S} Terminals={a,b,c,E}S->ABACA->aA/EB->bB/EC->c
Sahil1994
352
views
Sahil1994
asked
Oct 9, 2017
Theory of Computation
theory-of-computation
grammar
+
–
2
votes
2
answers
2846
MadeEasy Workbook: Theory of Computation - Regular Expressions
find regular expression over {a,b} corresponding to "set of strings containing at most 2a's." a) b*+ b*ab* + b*ab*ab* b) b*(a+ε)b*(a+ε) c) none
find regular expression over {a,b} corresponding to "set of strings containing at most 2a's."a) b*+ b*ab* + b*ab*ab*b) b*(a+ε)b*(a+ε)c) none
charul
877
views
charul
asked
Oct 7, 2017
Theory of Computation
theory-of-computation
regular-expression
made-easy-booklet
+
–
2
votes
2
answers
2847
MadeEasy Workbook: Theory of Computation - Regular Expressions
find the length of string of minimum length in {0,1}* not in the language corresponding to the given RE (0*+1*)* a) 0 b) 1 c) more than 1 d) can't be determined
find the length of string of minimum length in {0,1}* not in the language corresponding to the given RE(0*+1*)*a) 0b) 1c) more than 1d) can't be determined
charul
2.1k
views
charul
asked
Oct 7, 2017
Theory of Computation
theory-of-computation
made-easy-booklet
regular-expression
+
–
1
votes
2
answers
2848
MadeEasy Workbook: Theory of Computation - Finite Automata
Any given transition diagram has an equivalent a) regular expression b) NDFSM c) DFSM d) all of these
Any given transition diagram has an equivalenta) regular expressionb) NDFSMc) DFSMd) all of these
charul
861
views
charul
asked
Oct 6, 2017
Theory of Computation
theory-of-computation
finite-automata
made-easy-booklet
+
–
6
votes
1
answer
2849
TURING MACHINE
junaid ahmad
1.4k
views
junaid ahmad
asked
Oct 5, 2017
Theory of Computation
theory-of-computation
turing-machine
+
–
0
votes
1
answer
2850
self doubt
what is the relation between P AND NP PROBLEMS and decidability?? .. please suggest me a resource to learn in short time or explain in brief
what is the relation between P AND NP PROBLEMS and decidability?? .. please suggest me a resource to learn in short time or explain in brief
Venkat Sai
192
views
Venkat Sai
asked
Oct 4, 2017
Theory of Computation
theory-of-computation
+
–
Page:
« prev
1
...
90
91
92
93
94
95
96
97
98
99
100
...
155
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register