際際滷

際際滷Share a Scribd company logo
Welcome to our
presentation
Course No: CSC 397
.Sec:D...
10/31/2015 1DFA
Group :Authentic
Name ID
Jannatul Ara 13103030
Mahabuba Siddiqua jyoti 13103093
10/31/2015 2DFA
Topic
Give a DFA for 裡 = {0, 1} -- that accepts
any string which contains an Even
Number of 0s, or exactly two 1s.
10/31/2015 3DFA
DFA
In theory of computation, a branch
of theoretical computer science,
a deterministic finite automaton (DFA)also
known as deterministic finite state machine
is a finite state machine that accepts/rejects
finite strings of symbols and only produces a
unique computation (or run) of the
automaton for each input string.
'Deterministic' refers to the uniqueness of the
computation.
10/31/2015 4DFA
10/31/2015 5DFA
Construction of DFA
10/31/2015 DFA 6
Accept string
00,11,100001,0100000010,010001,00011000
Reject string-000,111,0001
Transition Function Table
隆 0 1
q0 q5 q1
q1 q2 q4
q2 q1 q3
q3 q4 q9
q4 q3 q9
q5 q0 q6
q6 q7 q8
q7 q6 q4
q8 q4 q9
q9 q9 q9
10/31/2015 DFA 7
Construction of DFA
 Initial Configuration :-
Input tape
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
1 0 1 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 8DFA
Construction of DFA
 Scanning Input string:-
Input tape
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
1 0 1 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 9DFA
Construction of DFA
 Scanning Input string :-
Input tape
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
1 0 1 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 10DFA
Construction of DFA
Configuration :-
Scanning the Input
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
1 0 1 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 11DFA
Construction of DFA
Finish Input
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
1 0 1 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 12DFA
Example of more accept string
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
0 0 1 1
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 13DFA
Construction of DFA
Example String
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
0 1 1 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 14DFA
Construction of DFA
Example String
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
1 0 0 0 1 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 15DFA
Example of reject string
Example string
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
0 0 0
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 16DFA
Example of reject string
Example string
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
1 1 1
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 17DFA
Example of reject string
Example string
1
1 0 1 0
0 0
0 0 0 1 1
1 1
1 0 1 0,1
0
0 1 1 1
q0 q1 q2 q3
q4
q8
q5 q6 q7
q9
10/31/2015 18DFA
10/31/2015 19DFA
10/31/2015 20DFA
Ad

Recommended

Concept of Computer
Concept of Computer
sumi haque
Client billing System for ISP
Client billing System for ISP
sumi haque
Electricity billing-system-project-on-jsp
Electricity billing-system-project-on-jsp
Freeprojectz
Electronic Billing And Payment Market, After All These Years
Electronic Billing And Payment Market, After All These Years
Randy Pilkenton
Tourism of Bangladesh
Tourism of Bangladesh
Abdul Hamid
electronic bill payment and presentment
electronic bill payment and presentment
tejinderubs
Tourism in-bangladesh ppt
Tourism in-bangladesh ppt
sumi haque
finiteautomata-160104102657.pptx
finiteautomata-160104102657.pptx
StudyvAbhi
NFA to DFA Conversion Using Subset Construction Method
NFA to DFA Conversion Using Subset Construction Method
Zihan Islam
Theory of Automata(Formal Language) Lecture 3.pptx
Theory of Automata(Formal Language) Lecture 3.pptx
muhammadanasgc
Finite automata
Finite automata
Bipul Roy Bpl
Theory of Computation Basics of Finite Acceptors
Theory of Computation Basics of Finite Acceptors
Rushabh2428
FiniteAutomata-DFA and NFA from Theory of Computation.ppt
FiniteAutomata-DFA and NFA from Theory of Computation.ppt
AdharshKumarSingh
DFA theroy of computetion Presented by Kawsar.pptx
DFA theroy of computetion Presented by Kawsar.pptx
Kamalkaochar1
CSE-322 lecture1 notes
CSE-322 lecture1 notes
databydevang
15159222.ppt
15159222.ppt
ssuser47f7f2
FiniteAutomata.ppt
FiniteAutomata.ppt
RohitPaul71
FiniteAutomata (1).ppt
FiniteAutomata (1).ppt
ssuser47f7f2
Lecture 1 CSE 322 LPU By 5th SEM .ppt Good
Lecture 1 CSE 322 LPU By 5th SEM .ppt Good
abcxyz19691969
Finite Automata
Finite Automata
parmeet834
Automata Theory
Automata Theory
Jessore University of Science & Technology, Jessore.
finitw automata2, Computer theory computure science
finitw automata2, Computer theory computure science
nandepovanhu
1.3.1 deterministic finite automaton
1.3.1 deterministic finite automaton
Sampath Kumar S
Finite automata examples
Finite automata examples
ankitamakin
Finite automata examples
Finite automata examples
ankitamakin
Lec 3 ---- dfa
Lec 3 ---- dfa
Abdul Aziz
Lecture12_16717_Lecture1.ppt
Lecture12_16717_Lecture1.ppt
Venneladonthireddy1
Automata theory -- NFA and DFA construction
Automata theory -- NFA and DFA construction
Akila Krishnamoorthy
Structured Programming with C++ :: Kjell Backman
Structured Programming with C++ :: Kjell Backman
Shabista Imam
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam

More Related Content

Similar to Final dfa (20)

NFA to DFA Conversion Using Subset Construction Method
NFA to DFA Conversion Using Subset Construction Method
Zihan Islam
Theory of Automata(Formal Language) Lecture 3.pptx
Theory of Automata(Formal Language) Lecture 3.pptx
muhammadanasgc
Finite automata
Finite automata
Bipul Roy Bpl
Theory of Computation Basics of Finite Acceptors
Theory of Computation Basics of Finite Acceptors
Rushabh2428
FiniteAutomata-DFA and NFA from Theory of Computation.ppt
FiniteAutomata-DFA and NFA from Theory of Computation.ppt
AdharshKumarSingh
DFA theroy of computetion Presented by Kawsar.pptx
DFA theroy of computetion Presented by Kawsar.pptx
Kamalkaochar1
CSE-322 lecture1 notes
CSE-322 lecture1 notes
databydevang
15159222.ppt
15159222.ppt
ssuser47f7f2
FiniteAutomata.ppt
FiniteAutomata.ppt
RohitPaul71
FiniteAutomata (1).ppt
FiniteAutomata (1).ppt
ssuser47f7f2
Lecture 1 CSE 322 LPU By 5th SEM .ppt Good
Lecture 1 CSE 322 LPU By 5th SEM .ppt Good
abcxyz19691969
Finite Automata
Finite Automata
parmeet834
Automata Theory
Automata Theory
Jessore University of Science & Technology, Jessore.
finitw automata2, Computer theory computure science
finitw automata2, Computer theory computure science
nandepovanhu
1.3.1 deterministic finite automaton
1.3.1 deterministic finite automaton
Sampath Kumar S
Finite automata examples
Finite automata examples
ankitamakin
Finite automata examples
Finite automata examples
ankitamakin
Lec 3 ---- dfa
Lec 3 ---- dfa
Abdul Aziz
Lecture12_16717_Lecture1.ppt
Lecture12_16717_Lecture1.ppt
Venneladonthireddy1
Automata theory -- NFA and DFA construction
Automata theory -- NFA and DFA construction
Akila Krishnamoorthy
NFA to DFA Conversion Using Subset Construction Method
NFA to DFA Conversion Using Subset Construction Method
Zihan Islam
Theory of Automata(Formal Language) Lecture 3.pptx
Theory of Automata(Formal Language) Lecture 3.pptx
muhammadanasgc
Theory of Computation Basics of Finite Acceptors
Theory of Computation Basics of Finite Acceptors
Rushabh2428
FiniteAutomata-DFA and NFA from Theory of Computation.ppt
FiniteAutomata-DFA and NFA from Theory of Computation.ppt
AdharshKumarSingh
DFA theroy of computetion Presented by Kawsar.pptx
DFA theroy of computetion Presented by Kawsar.pptx
Kamalkaochar1
CSE-322 lecture1 notes
CSE-322 lecture1 notes
databydevang
FiniteAutomata.ppt
FiniteAutomata.ppt
RohitPaul71
FiniteAutomata (1).ppt
FiniteAutomata (1).ppt
ssuser47f7f2
Lecture 1 CSE 322 LPU By 5th SEM .ppt Good
Lecture 1 CSE 322 LPU By 5th SEM .ppt Good
abcxyz19691969
Finite Automata
Finite Automata
parmeet834
finitw automata2, Computer theory computure science
finitw automata2, Computer theory computure science
nandepovanhu
1.3.1 deterministic finite automaton
1.3.1 deterministic finite automaton
Sampath Kumar S
Finite automata examples
Finite automata examples
ankitamakin
Finite automata examples
Finite automata examples
ankitamakin
Lec 3 ---- dfa
Lec 3 ---- dfa
Abdul Aziz
Automata theory -- NFA and DFA construction
Automata theory -- NFA and DFA construction
Akila Krishnamoorthy

Recently uploaded (20)

Structured Programming with C++ :: Kjell Backman
Structured Programming with C++ :: Kjell Backman
Shabista Imam
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
Solar thermal Flat plate and concentrating collectors .pptx
Solar thermal Flat plate and concentrating collectors .pptx
jdaniabraham1
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Mark Billinghurst
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
Rapid Prototyping for XR: Lecture 6 - AI for Prototyping and Research Directi...
Rapid Prototyping for XR: Lecture 6 - AI for Prototyping and Research Directi...
Mark Billinghurst
AI_Presentation (1). Artificial intelligence
AI_Presentation (1). Artificial intelligence
RoselynKaur8thD34
NEW Strengthened Senior High School Gen Math.pptx
NEW Strengthened Senior High School Gen Math.pptx
DaryllWhere
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
resming1
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
Introduction to Python Programming Language
Introduction to Python Programming Language
merlinjohnsy
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
SAMEER VISHWAKARMA
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
Stay Safe Women Security Android App Project Report.pdf
Stay Safe Women Security Android App Project Report.pdf
Kamal Acharya
Unit III_One Dimensional Consolidation theory
Unit III_One Dimensional Consolidation theory
saravananr808639
machine learning is a advance technology
machine learning is a advance technology
ynancy893
International Journal of Advanced Information Technology (IJAIT)
International Journal of Advanced Information Technology (IJAIT)
ijait
Structured Programming with C++ :: Kjell Backman
Structured Programming with C++ :: Kjell Backman
Shabista Imam
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
Solar thermal Flat plate and concentrating collectors .pptx
Solar thermal Flat plate and concentrating collectors .pptx
jdaniabraham1
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Mark Billinghurst
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
Rapid Prototyping for XR: Lecture 6 - AI for Prototyping and Research Directi...
Rapid Prototyping for XR: Lecture 6 - AI for Prototyping and Research Directi...
Mark Billinghurst
AI_Presentation (1). Artificial intelligence
AI_Presentation (1). Artificial intelligence
RoselynKaur8thD34
NEW Strengthened Senior High School Gen Math.pptx
NEW Strengthened Senior High School Gen Math.pptx
DaryllWhere
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
resming1
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
Introduction to Python Programming Language
Introduction to Python Programming Language
merlinjohnsy
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
SAMEER VISHWAKARMA
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
Stay Safe Women Security Android App Project Report.pdf
Stay Safe Women Security Android App Project Report.pdf
Kamal Acharya
Unit III_One Dimensional Consolidation theory
Unit III_One Dimensional Consolidation theory
saravananr808639
machine learning is a advance technology
machine learning is a advance technology
ynancy893
International Journal of Advanced Information Technology (IJAIT)
International Journal of Advanced Information Technology (IJAIT)
ijait
Ad

Final dfa

  • 1. Welcome to our presentation Course No: CSC 397 .Sec:D... 10/31/2015 1DFA
  • 2. Group :Authentic Name ID Jannatul Ara 13103030 Mahabuba Siddiqua jyoti 13103093 10/31/2015 2DFA
  • 3. Topic Give a DFA for 裡 = {0, 1} -- that accepts any string which contains an Even Number of 0s, or exactly two 1s. 10/31/2015 3DFA
  • 4. DFA In theory of computation, a branch of theoretical computer science, a deterministic finite automaton (DFA)also known as deterministic finite state machine is a finite state machine that accepts/rejects finite strings of symbols and only produces a unique computation (or run) of the automaton for each input string. 'Deterministic' refers to the uniqueness of the computation. 10/31/2015 4DFA
  • 6. Construction of DFA 10/31/2015 DFA 6 Accept string 00,11,100001,0100000010,010001,00011000 Reject string-000,111,0001
  • 7. Transition Function Table 隆 0 1 q0 q5 q1 q1 q2 q4 q2 q1 q3 q3 q4 q9 q4 q3 q9 q5 q0 q6 q6 q7 q8 q7 q6 q4 q8 q4 q9 q9 q9 q9 10/31/2015 DFA 7
  • 8. Construction of DFA Initial Configuration :- Input tape 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 1 0 1 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 8DFA
  • 9. Construction of DFA Scanning Input string:- Input tape 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 1 0 1 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 9DFA
  • 10. Construction of DFA Scanning Input string :- Input tape 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 1 0 1 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 10DFA
  • 11. Construction of DFA Configuration :- Scanning the Input 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 1 0 1 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 11DFA
  • 12. Construction of DFA Finish Input 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 1 0 1 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 12DFA
  • 13. Example of more accept string 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 0 0 1 1 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 13DFA
  • 14. Construction of DFA Example String 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 0 1 1 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 14DFA
  • 15. Construction of DFA Example String 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 1 0 0 0 1 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 15DFA
  • 16. Example of reject string Example string 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 0 0 0 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 16DFA
  • 17. Example of reject string Example string 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 1 1 1 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 17DFA
  • 18. Example of reject string Example string 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0,1 0 0 1 1 1 q0 q1 q2 q3 q4 q8 q5 q6 q7 q9 10/31/2015 18DFA