- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Construct the minimum DFA for any given finite automata.
Problem
Construct a minimum state DFA for the following automata −
Solution
We first construct a transition table for the given finite automata −
States\inputs | 0 | 1 |
---|---|---|
q0 | q1 | q5 |
q1 | q6 | q2 |
*q2 | q0 | q2 |
q3 | q2 | q6 |
q4 | q7 | q5 |
q5 | q2 | q6 |
q6 | q6 | q4 |
q7 | q6 | q2 |
Q={q0,q1,q2,q3,q4,q5,q6,q7}
Q01={q2} and Q02={q0,q1,q2,q3,q4,q5,q6,q7}
S0={{q2} {q0,q1,q2,q3,q4,q5,q6,q7}}
Consider the set {q0,q1,q2,q3,q4,q5,q6,q7}
{q2} {q0,q1,q3,q5,q6,q7}
{q2} {q0,q4,q6} {q1,q3,q5,q7}
{q2} {q0,q4} {q6} {q1,q3,q5,q7}
{q2}{q0,q4}{q6}{q1,q7}{q3,q5}
The minimized state is as follows −
M1=(Q1, Σ, δ1,q01,F1)
Q1= {[q2],[q0,q4],[q6],[q1,q7],[q3,q5]}
qo1= {[q0,q4]}
F1= {[q2]}
Transition Table
Now the transition table is as follows −
States\inputs | 0 | 1 |
---|---|---|
[q0,q4] | [q1,q7] | [q3,q5] |
[q6] | [q6] | [q2] |
[q1,q7] | [q0,q4] | [q2] |
[q3,q5] | [q2] | [q6] |
[q2] | [q6] | [q0,q4] |
The transition diagram is as follows −
- Related Articles
- Construct RE for given finite automata with Arden’s theorem
- What is Deterministic Finite Automata (DFA)?
- Explain the method for constructing Minimum Finite State Automata.
- Construct a Finite Automata for the regular expression ((a+b)(a+b))*.
- Find out the Regular expression for the given finite automata
- Find the regular expression for the given Finite automata with state elimination method
- Design finite automata from a given regular expression.
- C++ program for Finite Automata algorithm for Pattern Searching
- What is finite automata?
- Can we convert a non-deterministic finite automata into a deterministic finite Automata?
- Construct DFA for strings not ending with "THE"
- Efficient Construction of Finite Automata
- Construct Pushdown Automata for all length palindromes
- Explain Deterministic Finite Automata in TOC.
- What is Non deterministic finite automata?

Advertisements