Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Some useful problems
Recent questions tagged finite-automata
0
votes
2
answers
781
theory of computation
Give regular expression for the complement of the language given below . L (r) = {a2nb2m+1: n ≥ 0, m ≥ 0} (or) r =(aa)* (bb)* b
Give regular expression for the complement of the language given below .L (r) = {a2nb2m+1: n ≥ 0, m ≥ 0} (or) r =(aa)* (bb)* b
Vicky rix
3.6k
views
Vicky rix
asked
Apr 3, 2017
Theory of Computation
theory-of-computation
finite-automata
regular-expression
+
–
0
votes
1
answer
782
theory of computation
Give a regular expression for LR, where L is the language given below, L = (a + b) b (a + ab)* My answer : ( a + ba )* b ( a + b ). Please verify ...
Give a regular expression for LR, where L is the language given below,L = (a + b) b (a + ab)*My answer : ( a + ba )* b ( a + b ).Please verify ...
Vicky rix
518
views
Vicky rix
asked
Apr 3, 2017
Theory of Computation
theory-of-computation
finite-automata
regular-expression
+
–
0
votes
1
answer
783
theory of computation
The DFA for the complement of the language accepted by the above NFA is which is the answer ??? A) or B) ??? I feel B) is not a DFA and so A) is the answer ... please correct me if am wrong ...
The DFA for the complement of the language accepted by the above NFA is which is the answer ??? A) or B) ??? I feel B) is not a DFA and so A) is the answer ... please c...
Vicky rix
411
views
Vicky rix
asked
Apr 3, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
1
votes
2
answers
784
theory of computation
For the nfa given below, find δ*(q0, 1010) and δ* (q1,00).
For the nfa given below, find δ*(q0, 1010) and δ* (q1,00).
Vicky rix
1.9k
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
2
votes
3
answers
785
theory of computation
Construct minimal DFA for L = {an: n is either a multiple of three or a multiple of 5 }
Construct minimal DFA for L = {an: n is either a multiple of three or a multiple of 5 }
Vicky rix
4.9k
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
1
votes
3
answers
786
theory of computation
Let sigma = { 0,1 } . Construct a minimal DFA which accepts set of all strings in which "Every substring of four symbols has at most two 0’s". For example, 001110 and 011001 are in the language, but 10010 is not since one of its substrings, 0010, contains three zeros.
Let sigma = { 0,1 } . Construct a minimal DFA which accepts set of all strings in which"Every substring of four symbols has at most two 0’s". For example, 001110 and 01...
Vicky rix
4.6k
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
1
answer
787
theory of computation
Let sigma = {0,1} . Construct a dfa for "All strings containing 00 but not 000".
Let sigma = {0,1} . Construct a dfa for "All strings containing 00 but not 000".
Vicky rix
1.7k
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
1
answer
788
theory of computation
Vicky rix
796
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
1
answer
789
theory od computation
Find DFA for the language,L= {w: |w| mod 3 = 0, |w| ≠6}
Find DFA for the language,L= {w: |w| mod 3 = 0, |w| ≠6}
Vicky rix
1.6k
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
1
answer
790
theory of computation
Find dfa's for the following languages on Σ = {a,b}. L= {w: na(w) mod 3 >nb(w) mod 3}. L= {w :(na(w) – nb(w)) mod 3 > 0}.
Find dfa's for the following languages on Σ = {a,b}.L= {w: na(w) mod 3 >nb(w) mod 3}.L= {w :(na(w) – nb(w)) mod 3 0}.
Vicky rix
1.4k
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
regular-expression
grammar
+
–
3
votes
2
answers
791
theoryof computation
Both these languages are not equivalent...right ???
Both these languages are not equivalent...right ???
Vicky rix
617
views
Vicky rix
asked
Apr 2, 2017
Theory of Computation
theory-of-computation
finite-automata
regular-expression
grammar
+
–
0
votes
1
answer
792
theory of computation
Vicky rix
313
views
Vicky rix
asked
Apr 1, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
1
answer
793
theory of computation
Let sigma = { a,b }. The minimal number of states in a DFA that accepts set of all strings with A) exactly 2 "a's" and more than 2 "b's". B) atleast one "a" and exactly 2 "b's" .
Let sigma = { a,b }. The minimal number of states in a DFA that accepts set of all strings with A) exactly 2 "a's" and more than 2 "b's". B) atleast one "a" and e...
Vicky rix
396
views
Vicky rix
asked
Apr 1, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
4
votes
3
answers
794
How many DFAs are possible?
How many 3 state DFA's can be constructed with a designated initial final state that accepts empty language over alphabet {a,b}?
How many 3 state DFA's can be constructed with a designated initial final state that accepts empty language over alphabet {a,b}?
AnilGoudar
3.9k
views
AnilGoudar
asked
Apr 1, 2017
Theory of Computation
theory-of-computation
finite-automata
number-of-dfa
+
–
0
votes
1
answer
795
sub: Theory Of Computation Topic: regular exp. to DFA
To Convert regular expression to DFA -> In most of the RE we can not directly convert it to DFA we have to first converting it to NFA-null then NFA-without null and then DFA and that takes too much time to me plz tell me any short cut to do this if any else conform me this is the only way.
To Convert regular expression to DFA - In most of the RE we can not directly convert it to DFA we have to first converting it to NFA-null then NFA-without null and then D...
Ronak520
482
views
Ronak520
asked
Apr 1, 2017
Theory of Computation
regular-expression
finite-automata
theory-of-computation
+
–
0
votes
1
answer
796
Designing DFA's
Design a DFA which accepts all strings over { a, b } that doesn't contain string aabb in it.
Design a DFA which accepts all strings over { a, b } that doesn't contain string aabb in it.
s9k96
5.3k
views
s9k96
asked
Mar 30, 2017
Theory of Computation
finite-automata
theory-of-computation
+
–
0
votes
1
answer
797
#newgradiance #toc #dfa
Which automata define the same language? Note: (b) and (d) use transitions on strings. You may assume that there are non-accepting intermediate states, not shown, that are in the middle of these transitions, or just accept the extension to the conventional finite automaton that allows ... the start state to an accepting state. a) c and d b) a and c c) b and d d) a and d
Which automata define the same language? Note: (b) and (d) use transitions on strings. You may assume that there are non-accepting intermediate states, not shown, that ar...
Mubashirulislam
465
views
Mubashirulislam
asked
Mar 20, 2017
Theory of Computation
newgradiance
theory-of-computation
finite-automata
+
–
0
votes
2
answers
798
Peter Linz Exercise 3.2
GIve a DFA that accepts the following language : L(ab(a+ab)*(a+aa)) What could be the minimum number of states in such DFA?
GIve a DFA that accepts the following language :L(ab(a+ab)*(a+aa))What could be the minimum number of states in such DFA?
Ayush Upadhyaya
670
views
Ayush Upadhyaya
asked
Mar 12, 2017
Theory of Computation
theory-of-computation
regular-expression
finite-automata
+
–
1
votes
2
answers
799
NFA vs DFA
While constructing state diagram with minimum states, dead state is compulsory for: a) Only DFA b) Only NFA c) Both NFA and DFA d) Neither DFA nor NFA
While constructing state diagram with minimum states, dead state is compulsory for:a) Only DFAb) Only NFAc) Both NFA and DFAd) Neither DFA nor NFA
sh!va
5.8k
views
sh!va
asked
Mar 10, 2017
Theory of Computation
finite-automata
theory-of-computation
general
+
–
4
votes
3
answers
800
ISI 2015 PCB C4 B
Draw a 4-state DFA for the language $L \subseteq$ {a,b}* , L = {x : the number of time ab appears in x is even}
Draw a 4-state DFA for the language $L \subseteq$ {a,b}* , L = {x : the number of time ab appears in x is even}
Devasish Ghosh
866
views
Devasish Ghosh
asked
Mar 9, 2017
Theory of Computation
theory-of-computation
jsi2015
finite-automata
+
–
0
votes
1
answer
801
introduction to computer theory second edition by daniel chapter 5 question 14 (ii)
build an fa that accepts language of all strings of length 4 or more such that next to last (second last) letter is equal to the second letter of input string
build an fa that accepts language of all strings of length 4 or more such that next to last (second last) letter is equal to the second letter of input string
nida nadeem
1.5k
views
nida nadeem
asked
Feb 28, 2017
Theory of Computation
finite-automata
+
–
77
votes
12
answers
802
GATE CSE 2017 Set 2 | Question: 39
Let $\delta$ denote the transition function and $\widehat{\delta}$ denote the extended transition function of the $\epsilon$ ... $\emptyset$ $\{q_0, q_1, q_3\}$ $\{q_0, q_1, q_2\}$ $\{q_0, q_2, q_3 \}$
Let $\delta$ denote the transition function and $\widehat{\delta}$ denote the extended transition function of the $\epsilon$-NFA whose transition table is given below:$$\...
Arjun
28.4k
views
Arjun
asked
Feb 14, 2017
Theory of Computation
gatecse-2017-set2
theory-of-computation
finite-automata
+
–
54
votes
15
answers
803
GATE CSE 2017 Set 1 | Question: 22
Consider the language $L$ given by the regular expression $(a+b)^{*} b (a+b)$ over the alphabet $\{a,b\}$. The smallest number of states needed in a deterministic finite-state automaton (DFA) accepting $L$ is ___________ .
Consider the language $L$ given by the regular expression $(a+b)^{*} b (a+b)$ over the alphabet $\{a,b\}$. The smallest number of states needed in a deterministic finite-...
Arjun
29.3k
views
Arjun
asked
Feb 14, 2017
Theory of Computation
gatecse-2017-set1
theory-of-computation
finite-automata
numerical-answers
minimal-state-automata
+
–
47
votes
9
answers
804
GATE CSE 2017 Set 2 | Question: 25
The minimum possible number of states of a deterministic finite automaton that accepts the regular language $L$ = {$w_{1}aw_{2}$ | $w_{1},w_{2}$ $\in$ $\left \{ a,b \right \}^{*}$ , $\left | w_{1} \right | = 2, \left | w_{2} \right |\geq 3$} is ______________ .
The minimum possible number of states of a deterministic finite automaton that accepts the regular language $L$ = {$w_{1}aw_{2}$ | $w_{1},w_{2}$ $\in$ $\left \{ a,b \righ...
Madhav
16.5k
views
Madhav
asked
Feb 14, 2017
Theory of Computation
theory-of-computation
gatecse-2017-set2
finite-automata
numerical-answers
minimal-state-automata
+
–
2
votes
1
answer
805
Test by Bikram | Mock GATE | Test 3 | Question: 36
Consider the following regular languages given below: L1 : Languages that accept strings over $\sum \left (a,b \right )$ , such that length of string is greater than $1$, but multiples of $3$. L2 : Languages that accept strings over $\sum \left (a,b \right )$ ... ? $n1 = n3 < n2$ $n1 < n3 < n2$ $n3 < n1 < n2$ $n2 < n1 < n3$
Consider the following regular languages given below: L1 : Languages that accept strings over $\sum \left (a,b \right )$ , such that length of string is greater than $1$,...
Bikram
494
views
Bikram
asked
Feb 9, 2017
GATE
tbb-mockgate-3
theory-of-computation
finite-automata
minimal-state-automata
+
–
2
votes
1
answer
806
Test by Bikram | Mock GATE | Test 3 | Question: 33
Consider the following deterministic finite state automaton $M$: Let $S$ denote the set of $seven$ $bit$ binary strings in which the first, the fourth, and the last bits are $1$. The number of strings in $S$ that are accepted by $M$ is: 1 5 7 8
Consider the following deterministic finite state automaton $M$:Let $S$ denote the set of $seven$ $bit$ binary strings in which the first, the fourth, and the last bits a...
Bikram
474
views
Bikram
asked
Feb 9, 2017
GATE
tbb-mockgate-3
theory-of-computation
finite-automata
+
–
1
votes
1
answer
807
Test by Bikram | Mock GATE | Test 3 | Question: 16
Which of the following statements is NOT true? $DFA$ makes precisely one transition for an input. $NFA$ can make more than one transition for an input. On a given string ‘w’, $DFA$ terminates exactly in one state. To check if the input is accepted by an $NFA$, it does not make more than one transition for an input symbol from each state.
Which of the following statements is NOT true?$DFA$ makes precisely one transition for an input.$NFA$ can make more than one transition for an input.On a given string ‘...
Bikram
264
views
Bikram
asked
Feb 9, 2017
GATE
tbb-mockgate-3
theory-of-computation
finite-automata
+
–
2
votes
0
answers
808
dfa gatebook QS
dd
467
views
dd
asked
Feb 7, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
1
votes
1
answer
809
Virtual Gate Test Series: Theory Of Computation - Regular Languages
Which one of the following languages over the alphabet ${0, 1}$ is regular$?$ $(A)$ The language of balanced parentheses where $0, 1$ are thought of as $(,)$ respectively $(B)$ The language of palindromes, i.e., bit strings $x$ ... The kleene closure $L^{*},$ where $L$ is the language in $(C)$ above Ans is $D$ please explain$?$
Which one of the following languages over the alphabet ${0, 1}$ is regular$?$$(A)$ The language of balanced parentheses where $0, 1$ are thought of as $(,)$ respectively$...
indrajeet
900
views
indrajeet
asked
Feb 5, 2017
Theory of Computation
theory-of-computation
regular-language
finite-automata
virtual-gate
+
–
1
votes
3
answers
810
No. of DFA's Possible
The number of different DFA's with two states X and Y,where X is the initial state,over the alphabet $\sum$ = {0,1,2}
The number of different DFA's with two states X and Y,where X is the initial state,over the alphabet $\sum$ = {0,1,2}
Prajwal Bhat
1.2k
views
Prajwal Bhat
asked
Feb 4, 2017
Theory of Computation
finite-automata
counting
+
–
Page:
« prev
1
...
22
23
24
25
26
27
28
29
30
31
32
...
35
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register