Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Some useful problems
Recent questions tagged finite-automata
1
votes
3
answers
811
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
+
–
3
votes
1
answer
812
Peter Linz chapter 2 exercise
How to solve this type of questions ? 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. over the alphabet 0 and 1.
How to solve this type of questions ?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 o...
user123456987
1.8k
views
user123456987
asked
Feb 2, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
5
votes
1
answer
813
Test by Bikram | Mock GATE | Test 2 | Question: 46
The number of possible Deterministic Finite Automation with two states $q_0$ and $q_1$, where $q_0$ is always the initial state over the alphabet $\left \{ a,b \right \}$ which accept empty language is : ____________.
The number of possible Deterministic Finite Automation with two states $q_0$ and $q_1$, where $q_0$ is always the initial state over the alphabet $\left \{ a,b \right \}$...
Bikram
975
views
Bikram
asked
Jan 24, 2017
Theory of Computation
tbb-mockgate-2
numerical-answers
theory-of-computation
finite-automata
number-of-dfa
+
–
0
votes
1
answer
814
MadeEasy Subject Test: Theory of Computation - Finite Automata
# plz check its 4 or 3 ?? here i used equivalance method ?? i got 4
# plz check its 4 or 3 ?? here i used equivalance method ?? i got 4
Hradesh patel
262
views
Hradesh patel
asked
Jan 21, 2017
Theory of Computation
made-easy-test-series
theory-of-computation
finite-automata
+
–
1
votes
1
answer
815
Minimum No of states in DFA
No. of states in the DFA accepting the following set of strings are: ( ( aa* + φ* )* (aa* + φ* ) + bb* + φ* φ + φ* )* Quite confusing to me. Share your approach!
No. of states in the DFA accepting the following set of strings are:( ( aa* + φ* )* (aa* + φ* ) + bb* + φ* φ + φ* )*Quite confusing to me. Share your approach!
Prajwal Bhat
1.4k
views
Prajwal Bhat
asked
Jan 17, 2017
Theory of Computation
theory-of-computation
minimal-state-automata
finite-automata
theory-of-computation-
+
–
0
votes
1
answer
816
Virtual Gate Test Series: Theory Of Computation - Languages
For $A,B\subseteq \Sigma ^{*},$ define $A/B=\{x\in\Sigma^{*}\mid \exists y\in B,xy\in A\}$ If $L$ is a $\text{CFL}$ and $R$ is $\text{Regular},$ then $L/R$ is$?$ Regular CFL but not Regular Recursive but not CFL None of the above
For $A,B\subseteq \Sigma ^{*},$ define$A/B=\{x\in\Sigma^{*}\mid \exists y\in B,xy\in A\}$If $L$ is a $\text{CFL}$ and $R$ is $\text{Regular},$ then $L/R$ is$?$RegularCFL ...
smartmeet
783
views
smartmeet
asked
Jan 12, 2017
Theory of Computation
theory-of-computation
finite-automata
regular-language
context-free-language
virtual-gate-test-series
+
–
2
votes
1
answer
817
[TOC] Finite automata Infinite language
Some one please explain these two theorems,I am struggling a lot here.
Some one please explain these two theorems,I am struggling a lot here.
rahul sharma 5
2.0k
views
rahul sharma 5
asked
Jan 12, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
0
answers
818
Nfa doubt
Tell me any string that is not accepted by option b.
Tell me any string that is not accepted by option b.
Adiaspirant
418
views
Adiaspirant
asked
Jan 11, 2017
Theory of Computation
made-easy-test-series
finite-automata
automata
important
+
–
0
votes
0
answers
819
MadeEasy Subject Test: Theory of Computation - Finite Automata
Its not accepting (10)=2 in decimal
Its not accepting (10)=2 in decimal
Adiaspirant
340
views
Adiaspirant
asked
Jan 11, 2017
Theory of Computation
made-easy-test-series
theory-of-computation
finite-automata
+
–
0
votes
1
answer
820
TOC Finite automata
If n state finite automata accespts infinite language then what is the length of min, and max. cycle?
If n state finite automata accespts infinite language then what is the length of min, and max. cycle?
rahul sharma 5
1.0k
views
rahul sharma 5
asked
Jan 11, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
0
votes
1
answer
821
NFA doubt
I have a doubt regarding NFA Consider So this NFA will accept strings like b,ab. But what if a string aba comes? Will it be accepted? The question I have is that with 'ab' it will be in the final state and with 'a' as in input, with no transition defined it will still be in final state? So technically it should be accepted right?
I have a doubt regarding NFAConsider So this NFA will accept strings like b,ab. But what if a string aba comes? Will it be accepted? The question I have is that with 'ab'...
Neelay Upadhyaya
381
views
Neelay Upadhyaya
asked
Jan 11, 2017
Theory of Computation
theory-of-computation
finite-automata
+
–
3
votes
2
answers
822
Minimum states in DFA
Number of final states in minimal DFA where $\sum = \{ a,b \}$ $L = \{ w| n_a(w)mod\ 3 \geq n_b(w)mod\ 2\}$
Number of final states in minimal DFA where $\sum = \{ a,b \}$$L = \{ w| n_a(w)mod\ 3 \geq n_b(w)mod\ 2\}$
Lokesh .
1.7k
views
Lokesh .
asked
Jan 10, 2017
Theory of Computation
theory-of-computation
minimal-state-automata
finite-automata
+
–
0
votes
2
answers
823
What we should consider NFA or DFA while they ask 'Finite Autpmata' in question?
smartmeet
333
views
smartmeet
asked
Jan 9, 2017
Theory of Computation
general
finite-automata
+
–
2
votes
2
answers
824
Virtual Gate Test Series: Theory Of Computation - DFA
Number of states in the $\text{DFA}$ accepting the language $L=\{a^{n}b^{n}|1\leq n\leq 3\}$ over $\sum=\{a,b\}.$
Number of states in the $\text{DFA}$ accepting the language $L=\{a^{n}b^{n}|1\leq n\leq 3\}$ over $\sum=\{a,b\}.$
Jason GATE
576
views
Jason GATE
asked
Jan 8, 2017
Theory of Computation
theory-of-computation
finite-automata
number-of-states
virtual-gate-test-series
+
–
0
votes
0
answers
825
Ace Test Series: Theory Of Computation - Finite Automata
I do understand that this language is the intersection of the lanuage that starts with 101 and the other where strings are divisible by 100. So we can just concatenate the automata states ..first one has 4 states and the second one ... 104. However cant we fuse the final state of the first with the initial state of the second?..making it 103
I do understand that this language is the intersection of the lanuage that starts with 101 and the other where strings are divisible by 100. So we can just concatenate th...
Tridhara Chakrabarti
374
views
Tridhara Chakrabarti
asked
Jan 3, 2017
Theory of Computation
ace-test-series
theory-of-computation
finite-automata
+
–
0
votes
3
answers
826
Ace Test Series: Theory Of Computation - Finite Automata
Simple question. However the question mention MFA or minimal Finite Automation. So can i take NFA as it has 3 states. DFA has four ( 1 extra for the dead state);
Simple question. However the question mention MFA or minimal Finite Automation. So can i take NFA as it has 3 states. DFA has four ( 1 extra for the dead state);
Tridhara Chakrabarti
798
views
Tridhara Chakrabarti
asked
Jan 3, 2017
Theory of Computation
ace
ace-test-series
theory-of-computation
finite-automata
+
–
2
votes
1
answer
827
Counting No of States in the DFA
Minimum number of states required to construct DFA accepting language L={ w | w has even no of 0's and 1's and odd no of 3's } over alphabet { 0,1,2,3 } The answer given is 8. Should not the ans be 16? Using the ... 2 can take either one. Is it possible to get 8 states after minimization for the above DFA? Any simpler way of finding that logically?
Minimum number of states required to construct DFA accepting language L={ w | w has even no of 0's and 1's and odd no of 3's }over alphabet { 0,1,2,3 }The answer given is...
yg92
4.8k
views
yg92
asked
Jan 1, 2017
Theory of Computation
minimal-state-automata
finite-automata
theory-of-computation-
theory-of-computation
+
–
0
votes
3
answers
828
CMI2016-B-5
For a string $x=a_0a_1 \ldots a_{n-1}$ over the alphabet $\{0, 1, 2\}$, define $val(x)$ to be the value of $x$ interpreted as a ternary number, where $a_0$ is the most significant digit. More formally, $val(x)$ ... $ x \in \{0, 1, 2\}^*$ such that $val(x)$ is divisible by 4.
For a string $x=a_0a_1 \ldots a_{n-1}$ over the alphabet $\{0, 1, 2\}$, define $val(x)$ to be the value of $x$ interpreted as a ternary number, where $a_0$ is the most si...
go_editor
500
views
go_editor
asked
Dec 30, 2016
Theory of Computation
cmi2016
descriptive
finite-automata
+
–
5
votes
2
answers
829
Minimal DFA
$L_1 = \left \{ w \;\; | \;\; d(w) \text{ mod} \; 8 = 0 \right \}$ $L_2 = \left \{ w \;\; | \;\; d(w) \text{ mod} \; 4 = 0 \right \}$ $d(w) = \text{decimal value of binary string w}$ Minimum no of states in both the cases ?
$L_1 = \left \{ w \;\; | \;\; d(w) \text{ mod} \; 8 = 0 \right \}$$L_2 = \left \{ w \;\; | \;\; d(w) \text{ mod} \; 4 = 0 \right \}$$d(w) = \text{decimal value of binary ...
dd
2.2k
views
dd
asked
Dec 25, 2016
Theory of Computation
theory-of-computation
minimal-state-automata
finite-automata
+
–
4
votes
1
answer
830
Minimal DFA
$\begin{align*} \large\color{green}{L_1 = L\left ( a^{*}bb \right ) \cup L\left ( ab^{*}ba \right ) } \\ \end{align*}$ Minimal DFA for $L_1$
$$\begin{align*} \large\color{green}{L_1 = L\left ( a^{*}bb \right ) \cup L\left ( ab^{*}ba \right ) } \\ \end{align*}$$Minimal DFA for $L_1$
dd
915
views
dd
asked
Dec 23, 2016
Theory of Computation
theory-of-computation
minimal-state-automata
finite-automata
+
–
0
votes
1
answer
831
TestBook Test Series: Theory Of Computation - Finite Automata
what is the number of states in dfa of all language over {a,b} where n(a)mod3>=n(b)mod2 how to think in this kind of question ??
what is the number of states in dfa of all language over {a,b} where n(a)mod3>=n(b)mod2 how to think in this kind of question ??
Aboveallplayer
408
views
Aboveallplayer
asked
Dec 20, 2016
Theory of Computation
testbook-test-series
theory-of-computation
finite-automata
+
–
0
votes
0
answers
832
PETER LINZ
Give the regular expression for-( input symbol =a,b) L={w: number of a mod 5>0}
Give the regular expression for-( input symbol =a,b)L={w: number of a mod 5>0}
sushmita
265
views
sushmita
asked
Dec 20, 2016
Theory of Computation
theory-of-computation
finite-automata
+
–
10
votes
2
answers
833
GATE CSE 1988 | Question: 15
Consider the DFA $M$ and NFA $M_{2}$ as defined below. Let the language accepted by machine $M$ be $L$. What language machine $M_{2}$ accepts, if $F2=A?$ $F2=B?$ $F2=C?$ $F2=D?$ $M=(Q, \Sigma, \delta, q_0, F)$ $M_{2}=(Q2, \Sigma, \delta_2, q_{00}, F2)$ ... $D=\{\langle p, q, r \rangle \mid p,q \in Q; r \in F\}$
Consider the DFA $M$ and NFA $M_{2}$ as defined below. Let the language accepted by machine $M$ be $L$. What language machine $M_{2}$ accepts, if$F2=A?$$F2=B?$$F2=C?$$...
go_editor
2.9k
views
go_editor
asked
Dec 20, 2016
Theory of Computation
gate1988
descriptive
theory-of-computation
finite-automata
difficult
+
–
0
votes
2
answers
834
Finite Automata
Total number of DFA possible with 2 states q0 → start and non-final, q1 → final over Ʃ = {a,b} is (a) 16 (b) 32 (c) 48 (d) 64
Total number of DFA possible with 2 states q0 → start and non-final, q1 → finalover Ʃ = {a,b} is(a) 16 (b) 32(c) 48 (d) 64
harshit agarwal
981
views
harshit agarwal
asked
Dec 12, 2016
Theory of Computation
theory-of-computation
finite-automata
+
–
2
votes
0
answers
835
DFA || Linz
$\sum = \left \{ a,b \right \}$ All strings with exactly two a's and more than one b. I did in the following way : Please verify if further minimization possible.Or any other method ???
$\sum = \left \{ a,b \right \}$ All strings with exactly two a's and more than one b.I did in the following way :Please verify if further minimization possible.Or any oth...
dd
821
views
dd
asked
Dec 12, 2016
Theory of Computation
theory-of-computation
finite-automata
minimal-state-automata
+
–
0
votes
0
answers
836
DFA || Linz 2.1 d
$\sum$ = $\left \{ a,b \right \}$ All strings with at least 1 a and exactly 2 b's.
$\sum$ = $\left \{ a,b \right \}$All strings with at least 1 a and exactly 2 b's.
dd
539
views
dd
asked
Dec 12, 2016
Theory of Computation
finite-automata
theory-of-computation
minimal-state-automata
+
–
2
votes
3
answers
837
Virtual Gate Test Series: Theory Of Computation - Regular Languages
The language given is $\text{$L = \{ w | w $ contains an equal no of occurrences of substrings '$ab'$ and $'ba' \}.$ }$ $L$ is regular $?$ Note$:-$ $aba ∈ L $since $'aba'$ contains $1$ occurrence of $'ab'$ and $1$ occurrence of $'ba'$ but $ abab ∉ L$
The language given is $\text{$L = \{ w | w $ contains an equal no of occurrences of substrings '$ab'$ and $'ba' \}.$ }$ $L$ is regular $?$Note$:-$ $aba ∈ L $since $'a...
smartmeet
4.3k
views
smartmeet
asked
Dec 8, 2016
Theory of Computation
theory-of-computation
finite-automata
regular-language
virtual-gate-test-series
+
–
0
votes
1
answer
838
Number of states in DFA divisible by 8
Number of states for DFA which is divisble by 8 , I mostly try to identify by using number of distinct states. In this case , it would be 8 ; but minimized dfa would be less ? I read somewhere , the unique states sould be 4 and so ... but is this right ? And can someone explain , what is meant by unique states ? Do we have fixed formula for such problems ?
Number of states for DFA which is divisble by 8 , I mostly try to identify by using number of distinct states.In this case , it would be 8 ; but minimized dfa would be le...
vishal8492
2.8k
views
vishal8492
asked
Dec 7, 2016
Theory of Computation
finite-automata
number-of-dfa
+
–
1
votes
2
answers
839
Regular Expression to DFA
Having hard time , to understand why (A) isn't the answer ? Looking at DFA it looks , 2* is good starting state ; then there are two paths 0 first path good enough ; for second path 1 is necessary what about 2 ; shouldn't it be 2* as it's 0 or more occurences. Am I solving it wrong ? Is this incorrect approach to look at the question ?
Having hard time , to understand why (A) isn't the answer ? Looking at DFA it looks , 2* is good starting state ; then there are two paths 0 first path good enough ; for ...
vishal8492
914
views
vishal8492
asked
Dec 6, 2016
Theory of Computation
theory-of-computation
regular-expression
regular-language
finite-automata
+
–
0
votes
1
answer
840
nfa theory of computation
The answer to this question is given as 6.
The answer to this question is given as 6.
jenny101
484
views
jenny101
asked
Dec 6, 2016
Theory of Computation
theory-of-computation
finite-automata
+
–
Page:
« prev
1
...
23
24
25
26
27
28
29
30
31
32
33
...
35
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register