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
2
answers
3901
UGC NET CSE | August 2016 | Part 2 | Question: 35
Which of the following is FALSE ? The grammar $S \rightarrow aS|aSbS|\in$, where $S$ is the only non-terminal symbol, and $\in$ is the null string, is ambiguous. An unambiguous grammar has same left most and right most derivation. An ambiguous grammar can never be $LR(k)$ for any $k$. Recursive descent parser is a top-down parser.
Which of the following is FALSE ?The grammar $S \rightarrow aS|aSbS|\in$, where $S$ is the only non-terminal symbol, and $\in$ is the null string, is ambiguous.An unambig...
makhdoom ghaya
2.6k
views
makhdoom ghaya
asked
Sep 28, 2016
Theory of Computation
ugcnetcse-aug2016-paper2
theory-of-computation
grammar
+
–
2
votes
1
answer
3902
Peter Linz Edition 4 Exercise 2.1 Question 7 (Page No. 47)
Plez Tell someone briefly ..............though i have already the anwers but i couldn't get it properlyyy
Plez Tell someone briefly ..............though i have already the anwers but i couldn't get it properlyyy
Vijendra Singh
489
views
Vijendra Singh
asked
Sep 28, 2016
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition4
finite-automata
+
–
5
votes
2
answers
3903
Halting Problem of Turing Machines
Can anyone provide the proof of halting problem of turing machines by contradiction ? If possible, give example, how is it reduced to other turing problems ?
Can anyone provide the proof of halting problem of turing machines by contradiction ? If possible, give example, how is it reduced to other turing problems ?
Kapil
2.1k
views
Kapil
asked
Sep 27, 2016
Theory of Computation
theory-of-computation
turing-machine
decidability
+
–
2
votes
2
answers
3904
UGC NET CSE | August 2016 | Part 2 | Question: 31
The number of strings of length 4 that are generated by the regular expression $(0+ 1+ | 2+ 3+ )^{*}$, where | is an alternation character and ${+, ^{*}}$ are quantification characters, is : $08$ $09$ $10$ $12$
The number of strings of length 4 that are generated by the regular expression $(0+ 1+ | 2+ 3+ )^{*}$, where | is an alternation character and ${+, ^{*}}$ are quantificat...
makhdoom ghaya
2.4k
views
makhdoom ghaya
asked
Sep 26, 2016
Theory of Computation
ugcnetcse-aug2016-paper2
theory-of-computation
regular-expression
+
–
0
votes
1
answer
3905
Finite Automata
Construct dfa for set of all strings where every pair of consecutive 0's occurs before any pair of adjacent 1's ?
Construct dfa for set of all strings where every pair of consecutive 0's occurs before any pair of adjacent 1's ?
Sanket_
1.5k
views
Sanket_
asked
Sep 26, 2016
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
0
answers
3906
Context Free Languages
What are the applications of Context Free Languages?
What are the applications of Context Free Languages?
सुमित सिंह
194
views
सुमित सिंह
asked
Sep 25, 2016
Theory of Computation
context-free-language
theory-of-computation
compiler-design
+
–
0
votes
0
answers
3907
Context Free Grammars
What are the uses of Context Free Grammars?
What are the uses of Context Free Grammars?
सुमित सिंह
222
views
सुमित सिंह
asked
Sep 25, 2016
Theory of Computation
context-free-language
theory-of-computation
+
–
0
votes
1
answer
3908
Turing Machine
Construct the Turing Machine that accepts the language of palindromes over {a, b}. Also specify the moves trace the strings abaa, abba, aabaa.
Construct the Turing Machine that accepts the language of palindromes over {a, b}. Also specify the moves trace the strings abaa, abba, aabaa.
सुमित सिंह
1.1k
views
सुमित सिंह
asked
Sep 24, 2016
Theory of Computation
theory-of-computation
turing-machine
numerical
+
–
5
votes
6
answers
3909
Minimized DFA no of states || Peter Linz
$L = \left \{ a^nb \ ; n\geq 0 \right \} \cup \left \{ b^na \ ; n\geq 1 \right \}$ Minimal DFA for the above language ?
$L = \left \{ a^nb \ ; n\geq 0 \right \} \cup \left \{ b^na \ ; n\geq 1 \right \}$Minimal DFA for the above language ?
dd
3.1k
views
dd
asked
Sep 24, 2016
Theory of Computation
theory-of-computation
minimal-state-automata
finite-automata
theory-of-computation-
+
–
1
votes
1
answer
3910
Automata
What is R-L, where R is a regular language and L is context free. Options are a.Regular, b.Context free,c.Context Sensitive ,d.None of this
What is R-L, where R is a regular language and L is context free.Options are a.Regular, b.Context free,c.Context Sensitive ,d.None of this
Abhijit Sen
479
views
Abhijit Sen
asked
Sep 22, 2016
Theory of Computation
theory-of-computation
+
–
2
votes
0
answers
3911
toc turing machine
plzz expalin in detail Which of the following language is recursively enumerable language? 1.{< M > ⎪ M is a TM and there exist an input whose length is less than 100, on which M halts} 2.{< M > ⎪ M is a TM and L(M) = {00, 11}} 3.{M1, M2, M3 ⎪ L(M1) = L(M2) ∪ L(M3)} 4.All of these
plzz expalin in detail Which of the following language is recursively enumerable language?1.{< M ⎪ M is a TM and there exist an input whose length is less than 100, on...
focus _GATE
586
views
focus _GATE
asked
Sep 21, 2016
Unknown Category
theory-of-computation
+
–
1
votes
1
answer
3912
How many final states ?
How many final states required in the equivalent DFA ?
How many final states required in the equivalent DFA ?
dd
1.3k
views
dd
asked
Sep 20, 2016
Theory of Computation
theory-of-computation
minimal-state-automata
finite-automata
+
–
1
votes
1
answer
3913
Toc Ullman
Give DFA of The set of all strings which when interpreted as a binary integer is a multiple of 3.
Give DFA of The set of all strings which when interpreted as a binary integer is a multiple of 3.
gautamcse27
1.1k
views
gautamcse27
asked
Sep 20, 2016
Theory of Computation
theory-of-computation
+
–
2
votes
1
answer
3914
TOC- regular languages
Let the homomorphism defined over alphabet Σ{0, 1} is h(0) = aa and h(1) = aba, and L = (ab + ba)*a then what is h-1(L)?
Let the homomorphism defined over alphabet Σ{0, 1} is h(0) = aa and h(1) = aba, and L = (ab + ba)*athen what is h-1(L)?
Aegon
428
views
Aegon
asked
Sep 19, 2016
Theory of Computation
theory-of-computation
+
–
1
votes
1
answer
3915
Theory of computation
Set of all strings over {0,1} containing at most one pair of consecutive 1's. Give regular expression and equivalent minimized DFA.
Set of all strings over {0,1} containing at most one pair of consecutive 1's.Give regular expression and equivalent minimized DFA.
Geet
609
views
Geet
asked
Sep 17, 2016
Unknown Category
finite-automata
theory-of-computation
regular-expression
+
–
1
votes
1
answer
3916
toc - doubt
W(Wr)+, w belongs to (0*,1*) is Csl because? Is it because we cant decide the no of Wr or the content inside the Wr or both? so if 0111,011,001 a seperate kind of comparison for each? <------- this is the reason?
W(Wr)+, w belongs to (0*,1*) is Csl because? Is it because we cant decide the no of Wr or the content inside the Wr or both? so if 0111,011,001 a seperate kind of compari...
resilientknight
330
views
resilientknight
asked
Sep 16, 2016
Theory of Computation
theory-of-computation
+
–
5
votes
1
answer
3917
TOC
Prerna Chauhan
1.5k
views
Prerna Chauhan
asked
Sep 16, 2016
Theory of Computation
theory-of-computation
context-free-language
context-sensitive
+
–
1
votes
0
answers
3918
Peter Linz Edition 4 Exercise 3.1 Question 5 (Page No. 75)
Find regular expression for $\left \{ a^{n}b^{m}:(n+m)\ is\ even \right \}$.
Find regular expression for$\left \{ a^{n}b^{m}:(n+m)\ is\ even \right \}$.
Jitendra Verma
341
views
Jitendra Verma
asked
Sep 14, 2016
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
1
votes
1
answer
3919
UGC NET CSE | June 2010 | Part 2 | Question: 3
"My Laughter Machine (MLM) recognizes the following strings : (i) $a$ (ii) $aba$ (iii) $abaabaaba$ (iv) $abaabaabaabaabaabaabaabaaba$ Using this as an information, how would you compare the following regular expressions ? (i) $(aba)^{3x}$ ... $(i), (ii)$ and $(iii)$ are different. $(i), (ii)$ and $(iii)$ are same.
"My Laughter Machine (MLM) recognizes the following strings :(i) $a$(ii) $aba$(iii) $abaabaaba$(iv) $abaabaabaabaabaabaabaabaaba$Using this as an information, how would y...
makhdoom ghaya
1.0k
views
makhdoom ghaya
asked
Sep 13, 2016
Theory of Computation
ugcnetcse-june2010-paper2
theory-of-computation
regular-expression
+
–
0
votes
2
answers
3920
Theory of Computation - Decidability
Is this language Decidable ? L = { < M1,M2 > | M1,M2 are TM's and Ɛ ∈ L(M1) ∪ L(M2) } Where Ɛ = Epsilon EDIT => I think it is the non-trivial property of TM making it undecidable. By applying rice theorem 1, Take Tyes = Σ* and Tno = (0) , making it REL.
Is this language Decidable ?L = { < M1,M2 | M1,M2 are TM's and Ɛ ∈ L(M1) ∪ L(M2) } Where Ɛ = EpsilonEDIT = I think it is the non-trivial property of TM making it u...
Kapil
901
views
Kapil
asked
Sep 7, 2016
Theory of Computation
theory-of-computation
decidability
turing-machine
+
–
1
votes
1
answer
3921
Toc
In pumping lemma for CFL a^nb^n ....the pumping is done on equal number of a and b then pumping lemma is valid for this CFL...but when I take unequal a and b pumping lemma is invalid for this CFL...am I doing wrong any where ?
In pumping lemma for CFL a^nb^n ....the pumping is done on equal number of a and b then pumping lemma is valid for this CFL...but when I take unequal a and b pumping lemm...
Pavan Kumar Munnam
486
views
Pavan Kumar Munnam
asked
Sep 3, 2016
Theory of Computation
theory-of-computation
+
–
1
votes
1
answer
3922
toc minimal dfa
. Find minimized finite automata which recognizes the below languages, separately by m1 and m2 over binary strings as input, then find the number of states in each of the following. L1:L2 is a language, which contains a set of strings which produces a remainder ... contains 8 states (c) m1 contains 3 states and m2 contains 9 states (d) m1 contains 4 states and m2 contains 9 states
. Find minimized finite automata which recognizes the below languages, separately by m1 and m2 over binary strings as input, then find the number of states in each of the...
__
863
views
__
asked
Sep 1, 2016
Theory of Computation
theory-of-computation
minimal-state-automata
+
–
1
votes
2
answers
3923
Mininmal DFA
What will a minimal DFA over alphabet {a,b} which accepts all strings in which second symbol from RHS is always 'a' look like?
What will a minimal DFA over alphabet {a,b} which accepts all strings in which second symbol from RHS is always 'a' look like?
Aakanchha
745
views
Aakanchha
asked
Aug 31, 2016
Theory of Computation
theory-of-computation
finite-automata
minimal-state-automata
+
–
3
votes
1
answer
3924
Video Lectures by Shai Simonson
Are the Video Lectures by Shai Simonson self sufficient for GATE or do they miss out on certain parts ?
Are the Video Lectures by Shai Simonson self sufficient for GATE or do they miss out on certain parts ?
Aakash Das
2.0k
views
Aakash Das
asked
Aug 26, 2016
Theory of Computation
theory-of-computation
finite-automata
automata
+
–
2
votes
1
answer
3925
self doubt
Convert into regular expression using state elimination method.
Convert into regular expression using state elimination method.
Vivek Jain
921
views
Vivek Jain
asked
Aug 23, 2016
Theory of Computation
theory-of-computation
regular-expression
finite-automata
+
–
3
votes
3
answers
3926
gate ,toc
a*b*b (a+ (ab)*)* b* shortest string generated by this RE?
a*b*b (a+ (ab)*)* b*shortest string generated by this RE?
vishal messi
1.3k
views
vishal messi
asked
Aug 21, 2016
Theory of Computation
theory-of-computation
regular
regular-expression
+
–
3
votes
2
answers
3927
DFA
What is the language accepted by the following DFA ... ending with zero set of all strings starting and ending with zero 2nd option is true but what abut the 3rd option it is also Correct I Guess
What is the language accepted by the following DFA $\Sigma=(0,1)?Set of strings starting with 0 and have odd number of switchings (from 0 to 1 or 1 to 0, for example, 101...
bad_engineer
1.2k
views
bad_engineer
asked
Aug 21, 2016
Theory of Computation
theory-of-computation
finite-automata
easy
+
–
2
votes
1
answer
3928
UGC NET CSE | December 2011 | Part 2 | Question: 38
Which one of the following statement is false ? Context-free languages are closed under union. Context-free languages are closed under concatenation. Context-free languages are closed under intersection. Context-free languages are closed under Kleene closure.
Which one of the following statement is false ?Context-free languages are closed under union.Context-free languages are closed under concatenation.Context-free languages ...
makhdoom ghaya
1.5k
views
makhdoom ghaya
asked
Aug 20, 2016
Theory of Computation
ugcnetcse-dec2011-paper2
theory-of-computation
context-free-language
+
–
1
votes
3
answers
3929
UGC NET CSE | June 2016 | Part 3 | Question: 57
Given a Turing Machine $M=(\{q_0, q_1, q_2, q_3\}, \{a,b\}, \{a, b, B\}, \delta, B, \{q_3\})$ where $\delta$ is a atransaction function defined as $\delta(q_0,a)=(q_1, a, R)$ $\delta(q_1, b)=(q_2, b, R)$ $\delta(q_2, a)=(q_2, a, R)$ $\delta(q_2,b)=(q_3, b, R)$ The language L(M) accepted by the Turing machine is given as: aa*b abab aba*b aba*
Given a Turing Machine$M=(\{q_0, q_1, q_2, q_3\}, \{a,b\}, \{a, b, B\}, \delta, B, \{q_3\})$where $\delta$ is a atransaction function defined as$\delta(q_0,a)=(q_1, a, R)...
go_editor
8.2k
views
go_editor
asked
Aug 20, 2016
Theory of Computation
ugcnetcse-june2016-paper3
theory-of-computation
turing-machine
+
–
3
votes
8
answers
3930
UGC NET CSE | June 2016 | Part 3 | Question: 55
Let L be the language generated by regular expression 0*10* and accepted by the deterministic finite automata M. Consider the relation $R_M$ defined by M as all states that are reachable from the start state. $R_M$ has ___ equivalence classes. 2 4 5 6
Let L be the language generated by regular expression 0*10* and accepted by the deterministic finite automata M. Consider the relation $R_M$ defined by M as all states th...
go_editor
7.3k
views
go_editor
asked
Aug 20, 2016
Theory of Computation
ugcnetcse-june2016-paper3
theory-of-computation
regular-expression
regular-language
+
–
Page:
« prev
1
...
126
127
128
129
130
131
132
133
134
135
136
...
155
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register