SlideShare a Scribd company logo
1 of 12
Theory of Computation - Introduction
What do u mean by computation?
calculation, solving, making decision , any kind of operations/task by any machine
(like computer, calculator)
What do u mean by theory?
Simply speaking ….. A theory is a group of ideas intended to explain something.
logically speaking …. A theory is a fact-based framework for describing a phenomenon.
i.e basic principles behind any concept
Purpose of Theory of computation :
Develop formal mathematical models of computation that reflect real-world computers
Definition:
Theory of computation is the branch that deals with how effectively
problems can be solved on a model of computation, using an
algorithm.
Automata Theory:
• Automata is the plural of automaton – means automatic machine
• Is the study of abstract machines and how it could solve the
problems.
Representation of Model:
Will be like Flow chart
State / transition diagram
Applications of Automata
• Text processing – string search
• Web browsing
• Compiler design
• Operating system
• Game theory (strategy model by decision making)
• NLP
• Artificial intelligence
PREREQUISTIES
• Set theory
• Model theory
• Computability theory
• Proof theory
CS8501 Theory of Computation
UNIT I AUTOMATA FUNDAMENTALS
UNIT II REGULAR EXPRESSIONS AND LANGUAGES
UNIT III CONTEXT FREE GRAMMAR AND LANGUAGES
UNIT IV PROPERTIES OF CONTEXT FREE LANGUAGES
UNIT V UNDECIDABILITY
TEXTBOOK FOR REFERENCE
FINITE
AUTOMATA
REPRESENTATIONS
Transition function :
syntax: δ(state , input symbol) -> output state
example: δ(q0,1)= q1
2) Transition table
Row ---> states
Column ---> input symbols
1) Transition diagram
TYPES OF FA
1. Deterministic Finite Automata (DFA)
2. Non- Deterministic Finite Automata (NFA)
Both are defined by 5 tuples but there is difference in :
Transition function
DFA: Q x Σ -> [Q] - output is single state
NFA : Q x Σ -> {Q} - output is in many states
NFA
δ(q0,b)= {q0,q1}
NFA
δ(q0,1)= {q0,q2}
δ(q0,0)= {q0,q1}
δ(q2,1)= {q3}
δ(q2,1)= ∅
DFA
δ(q0,b)= [q0]
δ(q0,a)=[ q0,q1]
∅ - no null transitions
Guess the type of FA

More Related Content

What's hot

Ba4201 quantitative techniques for decision making l t p c
Ba4201 quantitative techniques for decision making l t p cBa4201 quantitative techniques for decision making l t p c
Ba4201 quantitative techniques for decision making l t p c
Prasanna E
 

What's hot (20)

Conditional Random Fields
Conditional Random FieldsConditional Random Fields
Conditional Random Fields
 
ADA complete notes
ADA complete notesADA complete notes
ADA complete notes
 
Algorithms.
Algorithms. Algorithms.
Algorithms.
 
BASICS OF DATA STRUCTURE
BASICS OF DATA STRUCTUREBASICS OF DATA STRUCTURE
BASICS OF DATA STRUCTURE
 
Computability and Complexity
Computability and ComplexityComputability and Complexity
Computability and Complexity
 
Algorithm analysis (All in one)
Algorithm analysis (All in one)Algorithm analysis (All in one)
Algorithm analysis (All in one)
 
COMPUTER PROGRAMMING UNIT 1 Lecture 4
COMPUTER PROGRAMMING UNIT 1 Lecture 4COMPUTER PROGRAMMING UNIT 1 Lecture 4
COMPUTER PROGRAMMING UNIT 1 Lecture 4
 
Design and analysis of Algorithm By Dr. B. J. Mohite
Design and analysis of Algorithm By Dr. B. J. MohiteDesign and analysis of Algorithm By Dr. B. J. Mohite
Design and analysis of Algorithm By Dr. B. J. Mohite
 
Algorithms : Introduction and Analysis
Algorithms : Introduction and AnalysisAlgorithms : Introduction and Analysis
Algorithms : Introduction and Analysis
 
Unit 5
Unit 5Unit 5
Unit 5
 
Daa unit 1
Daa unit 1Daa unit 1
Daa unit 1
 
CS8461 - Design and Analysis of Algorithms
CS8461 - Design and Analysis of AlgorithmsCS8461 - Design and Analysis of Algorithms
CS8461 - Design and Analysis of Algorithms
 
Ada notes
Ada notesAda notes
Ada notes
 
Introduction to Matlab
Introduction to MatlabIntroduction to Matlab
Introduction to Matlab
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of Algorithms
 
[Question Paper] Introduction To C++ Programming (Revised Course) [May / 2016]
[Question Paper] Introduction To C++ Programming (Revised Course) [May / 2016][Question Paper] Introduction To C++ Programming (Revised Course) [May / 2016]
[Question Paper] Introduction To C++ Programming (Revised Course) [May / 2016]
 
Ba4201 quantitative techniques for decision making l t p c
Ba4201 quantitative techniques for decision making l t p cBa4201 quantitative techniques for decision making l t p c
Ba4201 quantitative techniques for decision making l t p c
 
Design & Analysis of Algorithms Lecture Notes
Design & Analysis of Algorithms Lecture NotesDesign & Analysis of Algorithms Lecture Notes
Design & Analysis of Algorithms Lecture Notes
 
MATLAB
MATLABMATLAB
MATLAB
 
#1 designandanalysis of algo
#1 designandanalysis of algo#1 designandanalysis of algo
#1 designandanalysis of algo
 

Similar to Intro to automata theory

Lecture1_computer vision-2023.pdf
Lecture1_computer vision-2023.pdfLecture1_computer vision-2023.pdf
Lecture1_computer vision-2023.pdf
ssuserff72e4
 
Programming in python
Programming in pythonProgramming in python
Programming in python
Ivan Rojas
 
Algorithm chapter 1
Algorithm chapter 1Algorithm chapter 1
Algorithm chapter 1
chidabdu
 

Similar to Intro to automata theory (20)

chapter 1
chapter 1chapter 1
chapter 1
 
Lecture1_computer vision-2023.pdf
Lecture1_computer vision-2023.pdfLecture1_computer vision-2023.pdf
Lecture1_computer vision-2023.pdf
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Algorithms
Algorithms Algorithms
Algorithms
 
Programming in python
Programming in pythonProgramming in python
Programming in python
 
a581a6a2cb5778045788f0b1d7da1c0236f.pptx
a581a6a2cb5778045788f0b1d7da1c0236f.pptxa581a6a2cb5778045788f0b1d7da1c0236f.pptx
a581a6a2cb5778045788f0b1d7da1c0236f.pptx
 
DSJ_Unit I & II.pdf
DSJ_Unit I & II.pdfDSJ_Unit I & II.pdf
DSJ_Unit I & II.pdf
 
Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using java
 
Algorithm chapter 1
Algorithm chapter 1Algorithm chapter 1
Algorithm chapter 1
 
Automatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSELAutomatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSEL
 
CS-323 DAA.pdf
CS-323 DAA.pdfCS-323 DAA.pdf
CS-323 DAA.pdf
 
Algorithms and problem solving.pptx
Algorithms and problem solving.pptxAlgorithms and problem solving.pptx
Algorithms and problem solving.pptx
 
Cis435 week04
Cis435 week04Cis435 week04
Cis435 week04
 
Problem solving using computers - Unit 1 - Study material
Problem solving using computers - Unit 1 - Study materialProblem solving using computers - Unit 1 - Study material
Problem solving using computers - Unit 1 - Study material
 
Lecture 1 (bce-7)
Lecture   1 (bce-7)Lecture   1 (bce-7)
Lecture 1 (bce-7)
 
Keynote at IWLS 2017
Keynote at IWLS 2017Keynote at IWLS 2017
Keynote at IWLS 2017
 
Lecture 01-2.ppt
Lecture 01-2.pptLecture 01-2.ppt
Lecture 01-2.ppt
 
Algo_lecture1-3.pptx
Algo_lecture1-3.pptxAlgo_lecture1-3.pptx
Algo_lecture1-3.pptx
 
E3 chap-17
E3 chap-17E3 chap-17
E3 chap-17
 
Number Crunching in Python
Number Crunching in PythonNumber Crunching in Python
Number Crunching in Python
 

More from Akila Krishnamoorthy

More from Akila Krishnamoorthy (13)

Automata Theory - Turing machine
Automata Theory - Turing machineAutomata Theory - Turing machine
Automata Theory - Turing machine
 
Automata theory - RE to DFA Conversion
Automata theory - RE to DFA ConversionAutomata theory - RE to DFA Conversion
Automata theory - RE to DFA Conversion
 
Automata theory - Push Down Automata (PDA)
Automata theory - Push Down Automata (PDA)Automata theory - Push Down Automata (PDA)
Automata theory - Push Down Automata (PDA)
 
Automata theory -RE to NFA-ε
Automata theory -RE to  NFA-εAutomata theory -RE to  NFA-ε
Automata theory -RE to NFA-ε
 
Automata theory - NFA ε to DFA Conversion
Automata theory - NFA ε to DFA ConversionAutomata theory - NFA ε to DFA Conversion
Automata theory - NFA ε to DFA Conversion
 
Automata theory - NFA to DFA Conversion
Automata theory - NFA to DFA ConversionAutomata theory - NFA to DFA Conversion
Automata theory - NFA to DFA Conversion
 
Automata theory -- NFA and DFA construction
Automata theory -- NFA and DFA  constructionAutomata theory -- NFA and DFA  construction
Automata theory -- NFA and DFA construction
 
Automata theory -Conversion of ε nfa to nfa
Automata theory -Conversion of ε nfa to nfaAutomata theory -Conversion of ε nfa to nfa
Automata theory -Conversion of ε nfa to nfa
 
Automata theory - CFG and normal forms
Automata theory - CFG and normal formsAutomata theory - CFG and normal forms
Automata theory - CFG and normal forms
 
Slr parser
Slr parserSlr parser
Slr parser
 
CLR AND LALR PARSER
CLR AND LALR PARSERCLR AND LALR PARSER
CLR AND LALR PARSER
 
Linear data structure concepts
Linear data structure conceptsLinear data structure concepts
Linear data structure concepts
 
Keypoints c strings
Keypoints   c stringsKeypoints   c strings
Keypoints c strings
 

Recently uploaded

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 

Intro to automata theory

  • 1. Theory of Computation - Introduction
  • 2. What do u mean by computation? calculation, solving, making decision , any kind of operations/task by any machine (like computer, calculator) What do u mean by theory? Simply speaking ….. A theory is a group of ideas intended to explain something. logically speaking …. A theory is a fact-based framework for describing a phenomenon. i.e basic principles behind any concept Purpose of Theory of computation : Develop formal mathematical models of computation that reflect real-world computers
  • 3. Definition: Theory of computation is the branch that deals with how effectively problems can be solved on a model of computation, using an algorithm. Automata Theory: • Automata is the plural of automaton – means automatic machine • Is the study of abstract machines and how it could solve the problems.
  • 4. Representation of Model: Will be like Flow chart State / transition diagram
  • 5. Applications of Automata • Text processing – string search • Web browsing • Compiler design • Operating system • Game theory (strategy model by decision making) • NLP • Artificial intelligence
  • 6. PREREQUISTIES • Set theory • Model theory • Computability theory • Proof theory
  • 7. CS8501 Theory of Computation UNIT I AUTOMATA FUNDAMENTALS UNIT II REGULAR EXPRESSIONS AND LANGUAGES UNIT III CONTEXT FREE GRAMMAR AND LANGUAGES UNIT IV PROPERTIES OF CONTEXT FREE LANGUAGES UNIT V UNDECIDABILITY
  • 10. REPRESENTATIONS Transition function : syntax: δ(state , input symbol) -> output state example: δ(q0,1)= q1 2) Transition table Row ---> states Column ---> input symbols 1) Transition diagram
  • 11. TYPES OF FA 1. Deterministic Finite Automata (DFA) 2. Non- Deterministic Finite Automata (NFA) Both are defined by 5 tuples but there is difference in : Transition function DFA: Q x Σ -> [Q] - output is single state NFA : Q x Σ -> {Q} - output is in many states
  • 12. NFA δ(q0,b)= {q0,q1} NFA δ(q0,1)= {q0,q2} δ(q0,0)= {q0,q1} δ(q2,1)= {q3} δ(q2,1)= ∅ DFA δ(q0,b)= [q0] δ(q0,a)=[ q0,q1] ∅ - no null transitions Guess the type of FA