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
0
votes
0
answers
2401
#TOC- Undecidability
In this lecture by Shai Simonson : https://youtu.be/77OG6ziPMu4 At 33:04 he mentions that "A = CFL that does not accept $\sum^*$ " is Undecidable. Also, we already know that "A' = CFL that accept $\sum ^*$ " is Undecidable as well. so if A and A' both are Recursively Enumerable sets, then wouldn't that make A a recursive set ?
In this lecture by Shai Simonson : https://youtu.be/77OG6ziPMu4 At 33:04 he mentions that "A = CFL that does not accept $\sum^*$ " is Undecidable.Also, we already know th...
Abbas2131
313
views
Abbas2131
asked
Feb 23, 2018
Theory of Computation
theory-of-computation
decidability
context-free-language
+
–
2
votes
1
answer
2402
Peter Linz Edition 4 Exercise 2.1 Question 7.e (Page No. 47)
Please help in creating the DFA for (na (w)-nb (w))mod 3>0
Please help in creating the DFA for (na (w)-nb (w))mod 3>0
Manish Kumar 24
1.2k
views
Manish Kumar 24
asked
Feb 19, 2018
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition4
finite-automata
+
–
1
votes
2
answers
2403
Regular Expressions
$L_1=\{a^nb^m\mid n\geq 3,m\leq 4\}$ Find complement of $L_1.$
$L_1=\{a^nb^m\mid n\geq 3,m\leq 4\}$Find complement of $L_1.$
Ahsanul Hoque
361
views
Ahsanul Hoque
asked
Feb 14, 2018
Theory of Computation
regular-language
theory-of-computation
+
–
78
votes
4
answers
2404
GATE CSE 2018 | Question: 52
Given a language $L$, define $L^i$ as follows:$L^0 = \{ \varepsilon \}$$L^i = L^{i-1} \bullet L \text{ for all } I >0$The order of a language $L$ is defined as the smallest $k$ such that $L^k = L^{k+1}$. Consider the language $L_1 ($over alphabet $0)$ accepted by the following automaton. The order of $L_1$ is ________.
Given a language $L$, define $L^i$ as follows:$$L^0 = \{ \varepsilon \}$$$$L^i = L^{i-1} \bullet L \text{ for all } I >0$$The order of a language $L$ is defined as the s...
gatecse
20.7k
views
gatecse
asked
Feb 14, 2018
Theory of Computation
gatecse-2018
theory-of-computation
numerical-answers
regular-language
2-marks
+
–
38
votes
3
answers
2405
GATE CSE 2018 | Question: 36
Consider the following problems. $L(G)$ denotes the language generated by a grammar $G$. L(M) denotes the language accepted by a machine $M$. For an unrestricted grammar $G$ and a string $w$, whether $w \in L(G)$ Given a Turing machine ... is correct? Only I and II are undecidable Only II is undecidable Only II and IV are undecidable Only I, II and III are undecidable
Consider the following problems. $L(G)$ denotes the language generated by a grammar $G$. L(M) denotes the language accepted by a machine $M$.For an unrestricted grammar $...
gatecse
16.8k
views
gatecse
asked
Feb 14, 2018
Theory of Computation
gatecse-2018
theory-of-computation
decidability
easy
2-marks
+
–
50
votes
9
answers
2406
GATE CSE 2018 | Question: 35
Consider the following languages: $\{a^mb^nc^pd^q \mid m+p=n+q, \text{ where } m, n, p, q \geq 0 \}$ $\{a^mb^nc^pd^q \mid m=n \text{ and }p=q, \text{ where } m, n, p, q \geq 0 \}$ ... Which of the above languages are context-free? I and IV only I and II only II and III only II and IV only
Consider the following languages:$\{a^mb^nc^pd^q \mid m+p=n+q, \text{ where } m, n, p, q \geq 0 \}$$\{a^mb^nc^pd^q \mid m=n \text{ and }p=q, \text{ where } m, n, p, q \ge...
gatecse
21.2k
views
gatecse
asked
Feb 14, 2018
Theory of Computation
gatecse-2018
theory-of-computation
identify-class-language
context-free-language
normal
2-marks
+
–
27
votes
6
answers
2407
GATE CSE 2018 | Question: 7
The set of all recursively enumerable languages is: closed under complementation closed under intersection a subset of the set of all recursive languages an uncountable set
The set of all recursively enumerable languages is:closed under complementationclosed under intersectiona subset of the set of all recursive languagesan uncountable set
gatecse
11.5k
views
gatecse
asked
Feb 14, 2018
Theory of Computation
gatecse-2018
theory-of-computation
closure-property
easy
1-mark
+
–
24
votes
2
answers
2408
GATE CSE 2018 | Question: 6
Let $N$ be an NFA with $n$ states. Let $k$ be the number of states of a minimal DFA which is equivalent to $N$. Which one of the following is necessarily true? $k \geq 2^n$ $k \geq n$ $k \leq n^2$ $k \leq 2^n$
Let $N$ be an NFA with $n$ states. Let $k$ be the number of states of a minimal DFA which is equivalent to $N$. Which one of the following is necessarily true?$k \geq 2^n...
gatecse
10.4k
views
gatecse
asked
Feb 14, 2018
Theory of Computation
gatecse-2018
theory-of-computation
minimal-state-automata
normal
1-mark
+
–
2
votes
1
answer
2409
Complement of CFL
How to prove that $\text{"complement of L }= \{WW^R \mid W \in \{a,b\}^*\} \text{ is CFL}" $?
How to prove that $\text{"complement of L }= \{WW^R \mid W \in \{a,b\}^*\} \text{ is CFL}" $?
ankitgupta.1729
5.1k
views
ankitgupta.1729
asked
Feb 10, 2018
Theory of Computation
context-free-language
theory-of-computation
+
–
0
votes
1
answer
2410
Doubt
What is encoding in Finite State machine?
What is encoding in Finite State machine?
Angkit
294
views
Angkit
asked
Feb 10, 2018
Theory of Computation
theory-of-computation
+
–
0
votes
1
answer
2411
CMI2017-B-3
Let $Σ = \{a, b\}$. Given words $u, v \in Σ*$ , we say that $v$ extends $u$ if $v$ is of the form $xuy$ for some $x, y ∈ Σ^*$ . Given a fixed word $u$ ... Yes if some word in the language of $\mathcal{A}$ extends $u$ and No if no word in the language of $\mathcal{A}$ extends $u$.
Let $Σ = \{a, b\}$. Given words $u, v \in Σ*$ , we say that $v$ extends $u$ if $v$ is of the form $xuy$ for some $x, y ∈ Σ^*$ . Given a fixed word $u$, we are inter...
Tesla!
465
views
Tesla!
asked
Feb 5, 2018
Theory of Computation
cmi2017
theory-of-computation
finite-automata
descriptive
+
–
0
votes
2
answers
2412
CMI2017-B-1
Let $Σ = \{a, b, c\}$. Let Leven be the set of all even length strings in $Σ^*$ $(a)$ Construct a deterministic finite state automaton for $L_{even}$. $(b$) We consider an operation $Erase_{ab}$ that takes as input a string $w \in Σ^*$ and erases all occurrences of the ... $L:$ $Erase_{ab}(L)$:= $\{ Erase_{ab}(w)\ |\ w\in L\}$ Show that $Erase_{ab}(L_{even}$) is a regular language.
Let $Σ = \{a, b, c\}$. Let Leven be the set of all even length strings in $Σ^*$$(a)$ Construct a deterministic finite state automaton for $L_{even}$.$(b$) We consider a...
Tesla!
479
views
Tesla!
asked
Feb 5, 2018
Theory of Computation
cmi2017
theory-of-computation
finite-automata
+
–
7
votes
3
answers
2413
CMI2017-A-01
The regular expression $(a^*+b)^*$ is equivalent to which of the following regular expressions: $a^*b^*$ $(a^*b+b)^*$ $(a+b^*)^*$ $(a^*b)^*$
The regular expression $(a^*+b)^*$ is equivalent to which of the following regular expressions: $a^*b^*$$(a^*b+b)^*$ $(a+b^*)^*$$(a^*b)^*$
Tesla!
919
views
Tesla!
asked
Feb 4, 2018
Theory of Computation
cmi2017
theory-of-computation
regular-expression
+
–
0
votes
1
answer
2414
MadeEasy Test Series: Theory Of Computation - Turing Machine
Consider the Turing machine when the input is still left and the turing machine halts will it accept it by halting or will it process the entire input left??
Consider the Turing machine when the input is still left and the turing machine halts will it accept it by halting or will it process the entire input left??
Venkat Sai
393
views
Venkat Sai
asked
Feb 3, 2018
Theory of Computation
made-easy-test-series
theory-of-computation
turing-machine
+
–
2
votes
1
answer
2415
Regular Language
Let $L\mid$ be a regular language and $L_1| = \{x|\mid\text{there exist y}\mid \text{so that xy} \in L| \text{ and} \mid x \mid = 2 \mid y\mid \mid \}$ ... but $L_2|$ is not. $L_2|$ is regular but $L_1|$ is not. Both $L_1|$ and $L_2|$ are regular. Both $L_1|$ and $L_2|$ are not regular.
Let $L\mid$ be a regular language and$L_1| = \{x|\mid\text{there exist y}\mid \text{so that xy} \in L| \text{ and} \mid x \mid = 2 \mid y\mid \mid \}$$L_2| = \{x|\mid\tex...
vijay_jr
2.0k
views
vijay_jr
asked
Feb 2, 2018
Theory of Computation
theory-of-computation
regular-language
finite-automata
+
–
0
votes
1
answer
2416
Grammer
Can I give any grammer for the language L = { anbncn / n>=1} Like this----
Can I give any grammer for the language L = { anbncn / n>=1} Like this
mrinmoyh
609
views
mrinmoyh
asked
Feb 1, 2018
Theory of Computation
theory-of-computation
grammar
+
–
0
votes
1
answer
2417
Regular expression
S -> AaB A -> aC | $\epsilon$ B -> aB | bB | $\epsilon$ C -> aCb | $\epsilon$ Is the regular expression for the above is this: a(a + b)* a ( a* + b* )* ?
S - AaBA - aC | $\epsilon$B - aB | bB | $\epsilon$C - aCb | $\epsilon$Is the regular expression for the above is this:a(a + b)* a ( a* + b* )* ?
Tuhin Dutta
1.1k
views
Tuhin Dutta
asked
Feb 1, 2018
Theory of Computation
theory-of-computation
regular-expression
+
–
0
votes
0
answers
2418
TOC ACE
dm4006
182
views
dm4006
asked
Jan 31, 2018
Theory of Computation
theory-of-computation
+
–
0
votes
4
answers
2419
Regular Expression
Can I write $a^* + b^* = (a + b)^*$ ????
Can I write $a^* + b^* = (a + b)^*$ ????
mrinmoyh
916
views
mrinmoyh
asked
Jan 31, 2018
Theory of Computation
regular-expression
theory-of-computation
+
–
0
votes
0
answers
2420
Test Series
We need to draw DFA for it. and then NFA.? Please tell the approach?
We need to draw DFA for it. and then NFA.?Please tell the approach?
Sahil1994
248
views
Sahil1994
asked
Jan 31, 2018
Theory of Computation
theory-of-computation
+
–
0
votes
0
answers
2421
Type of Language
Hi Guys, What is the type of $L_{1}$ and $L_{2}$ ? If they are REC then How could it be proved ?
Hi Guys, What is the type of $L_{1}$ and $L_{2}$ ? If they are REC then How could it be proved ?
Chhotu
305
views
Chhotu
asked
Jan 31, 2018
Theory of Computation
theory-of-computation
recursive-and-recursively-enumerable-languages
+
–
0
votes
1
answer
2422
Minimal DFA
Minimum states if L is Language that accepts (a+b)* (aaa+aab) are ____ My ans : 4 states given ans : 5 states
Minimum states if L is Language that accepts (a+b)* (aaa+aab) are ____My ans : 4 states given ans : 5 states
Anjan
1.9k
views
Anjan
asked
Jan 31, 2018
Theory of Computation
theory-of-computation
minimal-state-automata
+
–
2
votes
0
answers
2423
#Practise Class of Languages
$xwxw^r |\ w,x \in (a,b)^*$ $wxw^{r}x |\ w,x \in (a,b)^*$
$xwxw^r |\ w,x \in (a,b)^*$$wxw^{r}x |\ w,x \in (a,b)^*$
Anjan
367
views
Anjan
asked
Jan 31, 2018
Theory of Computation
theory-of-computation
regular-language
+
–
1
votes
2
answers
2424
Turing Machine - Membership Problem
Is membership problem for TM decidable or undecidable?
Is membership problem for TM decidable or undecidable?
Akash Mishra
3.6k
views
Akash Mishra
asked
Jan 31, 2018
Theory of Computation
turing-machine
theory-of-computation
+
–
4
votes
1
answer
2425
Theory of computation
The minimal finite automata accepting the set of all strings over 0,1 starting with 1 that interpreted as a binary representation of an integer are congruent to 0 modulo 5 has ___ states. What is this language?
The minimal finite automata accepting the set of all strings over 0,1 starting with 1 that interpreted as a binary representation of an integer are congruent to 0 modulo ...
gauravkc
2.1k
views
gauravkc
asked
Jan 30, 2018
Theory of Computation
theory-of-computation
+
–
0
votes
1
answer
2426
Regular Languages
Language {w | ww=www} is regular. How and what is this language?
Language {w | ww=www} is regular.How and what is this language?
gauravkc
310
views
gauravkc
asked
Jan 30, 2018
Theory of Computation
theory-of-computation
regular-language
+
–
0
votes
0
answers
2427
#TOC Doubt
L = anbm / n,m>=1 What type pf Language is this? Also, please tell are n,m are independent or dependent i.e can we have like n=2 and m=3 or both n,m have to have same values!?
L = anbm / n,m>=1What type pf Language is this? Also, please tell are n,m are independent or dependent i.e can we have like n=2 and m=3 or both n,m have to have same valu...
iarnav
202
views
iarnav
asked
Jan 30, 2018
Theory of Computation
theory-of-computation
finite-automata
regular-expression
regular-grammar
+
–
1
votes
0
answers
2428
Regular - Context Free?
Let L be a given context-free language over the alphabet {a, b}. Construct L1, L2 as follows. Let L1 = L − {xyx | x, y ∈ {a, b}∗}, and L2 = L·L. Then, (A) Both L1 and L2 are regular. B) Both L1 and L2 are context free but not necessarily regular. (C) L1 is regular and L2 is context free. (D) L1 and L2 both may not be context free
Let L be a given context-free language over the alphabet {a, b}. Construct L1, L2 as follows.Let L1 = L − {xyx | x, y ∈ {a, b}∗},and L2 = L·L. Then,(A) Both L1 and...
Tuhin Dutta
881
views
Tuhin Dutta
asked
Jan 30, 2018
Theory of Computation
theory-of-computation
context-free-language
regular-language
+
–
0
votes
1
answer
2429
Turing Machine
...................................
...................................
Tuhin Dutta
1.0k
views
Tuhin Dutta
asked
Jan 30, 2018
Theory of Computation
theory-of-computation
turing-machine
+
–
4
votes
0
answers
2430
Testbook Test Series: Theory of Computation - Identify Class Language
Shailin Shah
567
views
Shailin Shah
asked
Jan 30, 2018
Theory of Computation
testbook-test-series
identify-class-language
theory-of-computation
+
–
Page:
« prev
1
...
76
77
78
79
80
81
82
83
84
85
86
...
155
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register