I have this NFA bellow, and I feel that it has the regular expression (0+1)*00. But looking at it i also feel that I should add something to the RE for the transition q2->q0, but cant quite understand how to do it. Could anyone give me any tips? Thank you
1
There are 1 best solutions below
Related Questions in AUTOMATA
- Converting ENFA To DFA and ENFA NFA
- Need clarification on pumping lemma for context free languages
- Unable to create an DPDA that accepts strings in binary notation multiples of 3
- how to model and verify model
- UPPAAL chooses to loop on instead of a transition of a higher priority
- Build a Turing Machine that counts a's and b's
- Convert the given Moore Machine into Mealy machine
- Converting context free grammar to chomsky normal form
- Intersection of two Deterministic Finite Automata (DFA)
- NFA or e-NFA for the condition , n % 5 = 0 where n is the number of 1s
- Finding a regular grammar for the language L
- Does this DFA satisfy the complement of the given language?
- How to Perform Bottom-Up Parsing for a Given CFG and Input String?
- Regular expressions matching given string
- If an Infinite language is passed to Machine M, the subsidiary which gives a finite solution to the infinite input tape is?
Related Questions in NFA
- Theory of Comp Sci - State Diagrams NFAs
- Converting ENFA To DFA and ENFA NFA
- Theory of computer science problems
- State diagram of DFA with 5 states
- Conversion of NFA having a missing transition for any input character on initial state to DFA
- Automata theory: Formal definition of indistinguishable & distinguishable strings and example confusion
- Create a NFA from BNF grammar
- Bitap algorithm for Fuzzy search example
- DFA- Set of all strings whose 10th symbol from the right end is 1
- NFA or DFA accepting # of positions of 4k between 0's
- unable to display tables and diagrams in python for non deterministic finite automata
- By writing a regular expression or a grammar, describe the language accepted by the NFA
- Why is the most constraint language for this not Regular and instead, Context-Free?
- Why the conversion of an NFA to DFA is useful?
- Regular Expression | Automata Theory
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

If you want an NFA for (0 + 1)*00, your NFA works fine. Indeed, the transition from q2 to q0 is unnecessary; the NFA without that works as well. NFAs do not need to define all transitions and accept any string that has one accepted path through the NFA. Assuming q2 is an accepting state for you, it accepts any string in (0 + 1)*00 (self-loop on q0 for however many copies of (0 + 1) the Kleene closure is used to produce, and then go from q0 to q1 and q1 to q2) and only strings in (0 + 1)*00 (any string that gets from q0 to q2 and stays there must end with two 0s, which is the only requirement of strings in our language). In particular, it is legal for a NFA to "crash" on certain configurations; that just means that particular path through the NFA does not accept the string, but some other one might. If there are 10^1000000 paths through an NFA and all but one crashes or rejects, and just one leads to an accepting state, that string is in the language of the NFA.