Linked Questions

2 votes
1 answer
30k views

Let $\Sigma=\{0,1\}$. What is the regular expression for the language of all strings with an even number of $0$'s and an even number of $1$'s? If we only require an even number of $0$'s, the language ...
mba's user avatar
  • 385
0 votes
1 answer
28k views

Here is the regular expression I made for it This is my first answer, used the naive method aka don't know what am doin' method. $$ \epsilon \cup a^* \cup (a^*b) \left((a| b^*a) | \left( (a|(b^*a))ba^...
Dave's user avatar
  • 279
3 votes
1 answer
2k views

I'm so sorry if this question is too general, but I need to understand the general process of the "State elimination method". In other words, what is the general idea, and what is the ...
macros's user avatar
  • 45
1 vote
1 answer
1k views

This is the automaton I want to find the regular expression for: As you see, states Q1 to Q4 are accepted and Q5 is a kind of trap. This automaton accepts strings that have no more than 3 consecutive ...
Arman Malekzadeh's user avatar
2 votes
2 answers
481 views

Here is a DFA from a research project. We created the DFA manually. We are interested in which regex is this DFA corresponding to. Certainly, there could be multiple regex corresponding to it; we ...
JackWM's user avatar
  • 168
0 votes
1 answer
722 views

I want to make the regular expression of this language but I can't: I tried but the regular expression didn't match some strings that it should. Is it even possible?
user5948's user avatar
-1 votes
1 answer
671 views

I have the following DFA. (Yellow stated are accepting states.) I want to eliminate states step by step to find the regular expression of it. In my steps, I think there is a bug because I do not know ...
bsinowa's user avatar
  • 33
0 votes
1 answer
774 views

Possible Duplicate: How to convert finite automata to regular expressions? Im curious if anyone knows if its possible to write a program to generate a regular expression given a finite automation. ...
user avatar
0 votes
0 answers
178 views

I'm working on homework for my formal languages and automata course. The text we are using is the first edition of Hopcroft and Ullman (1979). Specifically, I'm unsure how to justify that my regular ...
0culus's user avatar
  • 9
-2 votes
1 answer
152 views

Hi, what should be the regular expression for this language ? My guess was r = (a ∗ a(a + b) ∗ (a + b) + (a ∗ b + c))(a + b ∗ ) ∗ But the arrow from C to B is making it tough . If it was B to C ...
Daniel Gilmore's user avatar
0 votes
0 answers
112 views

I was doing an assignment of Theory of automata but while doing this question I am stuck there is no such state that can be eliminated even from transition table. I am very confused and stuck please ...
Junaid Khalid's user avatar
1 vote
1 answer
105 views

$L_4 = \{ w | w \text{ does not contain symbol a immediately followed by symbol b} \} $ where: $ \Sigma = \{ a, b, c \} $ So far I believe I have a defined regular grammar for this language, however ...
dmcqu314's user avatar
  • 111
0 votes
1 answer
74 views

My question is: what language should the following DFA recognise? It seems that it should contain an odd number of substrings in the form 11*0. However, I am not sure whether there are any other ...
user913923219's user avatar
2 votes
0 answers
67 views

I am trying to learn how to construct an NFA state diagram. $$M = \{q0, q1, q2\}, \{a,b\}, \delta, q0 , \{q2\}$$ $δ(q0,a) = q0; \delta(q0,b) = {q0,q1}; \delta(q1,a)= {q0, q2}; \delta(q1,b) = {q1}; \...
alig227's user avatar
  • 121
0 votes
1 answer
65 views

I've been trying for hours. I'm teaching myself automata theory right now and I have this DFA: And I'm trying to create a regex from it by removing q1 first and then q2. I already managed to remove q1 ...
nosetup's user avatar

15 30 50 per page
1
2 3 4 5 6