SlideShare a Scribd company logo
Presentation Topic is:
To Our Theory of Computing Presentation
Group Member List:
Name ID
Md. Touhidur Rahman 152-15-6232
Computational Models
Computational Model are four type:
 Finite Automata - DFA & NFA
 Context Free Grammar
 Push Down Automata
 Turing Machine
Finite Automata - DFA & NFA
Definition: A deterministic finite automaton (DFA) consists of
• 1. a finite set of states (often denoted Q)
• 2. a finite set of symbols (alphabet)
• 3. a transition function that takes as argument a state and a
• symbol and returns a state (often denoted )
• 4. a start state often denoted q0
• 5. a set of final or accepting states (often denoted F)
Finite Automata - DFA & NFA
How to present a DFA? With a transition table
• The ! indicates the start state: here q0
• The indicates the final state(s) (here only one final state q1)
• This defines the following transition diagram
Finite Automata - DFA & NFA
Formal Definition:
Finite Automata - DFA & NFA
How to present a NFA? With a transition table
Context Free Grammar
What is a grammar?:
A grammar consists of one or more variables that represent
classes of strings (i.e., languages)
There are rules that say how the strings in each class are
constructed. The construction can use :
1. symbols of the alphabet
2. strings that are already known to be in one of the
classes
3. or both
Context Free Grammar
Definition of Context-Free Grammar:
A CFG (or just a grammar) G is a tuple G = (V, T, P, S) where
1. V is the (finite) set of variables (or nonterminal or syntactic
categories). Each variable represents a language, i.e., a set of
strings .
2. T is a finite set of terminals, i.e., the symbols that form the
strings of the language being defined.
3. P is a set of production rules that represent the recursive
definition of the language.
4. S is the start symbol that represents the language being
defined. Other variables represent auxiliary classes of
strings that are used to help define the language of the start
symbol.
Context Free Grammar
Examples 1(CFG): The grammar:
1. E → I
2. E → E + E
3. E → E ∗ E
4. E → (E)
5. I → a
6. I → b
7. I → Ia
8. I → Ib
9. I → I 0
10. I → I 1
The Grammar for expression is started formally as,
Grammar G 1 = ( {E, I }, T, P, E)
where: T = { +, ∗, (, ), a, b, 0, 1 } is the set of symbol and P is
the set of productions
Context Free Grammar
Derivation:
The sequence of substitutions to generate a string is called a
derivation.
Derivation both are two types:
1.Left-Most Derivation.
2.Right-Most Derivation.
Left-Most Derivation:
A derivation which always replace the leftmost variable in each step is
called a leftmost derivation.
Examples of Left-Most derivation to Previous Examples1:
Derivation of a ∗ (a + b00) by G 1
E ⇒ E ∗ E ⇒ I ∗ E ⇒ a ∗ E ⇒ a ∗ (E) ⇒ a ∗ (E + E) ⇒ a ∗ (I + E) ⇒ a ∗
(a + E) ⇒ a ∗ (a + I) ⇒ a ∗ (a + I0) ⇒ a ∗ (a + I00) ⇒ a ∗ (a + b00)
We can conclude that E ∗ ⇒lm a ∗ (a + b00).
Context Free Grammar
Right-Most Derivation:
Rightmost derivation Always replace the rightmost variable by
one of its rule-bodies.
Examples of Right-Most derivation to Previous Examples 1:
E ⇒E ∗ E ⇒ E ∗ (E) ⇒ E ∗ (E + E) ⇒ E ∗ (E + I) ⇒rm E
∗ (E + I0) ⇒ E ∗ (E + I00) ⇒ E ∗ (E + b00) ⇒ E ∗ (I + b00) ⇒ E ∗
(a + b00) ⇒ I ∗ (a + b00) ⇒ a ∗ (a + b00)
We can conclude that E ∗ ⇒rm a ∗ (a + b00).
Push Down Automata
Definition:
A pushdown automata (PDA) is essentially an -NFA with a
stack.
• On a transition, the PDA:
1. Consumes an input symbol.
2. Goes to a new state (or stays in the old).
3. Replaces the top of the stack by any string (does nothing,
pops the
stack, or pushes a string onto
the stack)
Push Down Automata
Formal Definition:
Push Down Automata
Turing Machine
Definition:
 We can give a formal description to a particular TM by
specifying each of its seven components.
 This way a TM can become cumbersome.
Note: To avoid this we use higher level descriptions which are
precise enough for the purpose of understanding
 However, every higher level description is actually just a
short hand for its formal counterpart.
Turing Machine
Analysis:
Turing Machine
Example:
Theory of computing presentation

More Related Content

What's hot

Introduction to fa and dfa
Introduction to fa  and dfaIntroduction to fa  and dfa
Introduction to fa and dfa
deepinderbedi
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
Prof. Dr. K. Adisesha
 
Automata theory
Automata theoryAutomata theory
Automata theory
Pardeep Vats
 
Finite automata(For college Seminars)
Finite automata(For college Seminars)Finite automata(For college Seminars)
Finite automata(For college Seminars)
Naman Joshi
 
Finite automata
Finite automataFinite automata
Finite automata
Bipul Roy Bpl
 
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Mohammad Ilyas Malik
 
AUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTESAUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTES
suthi
 
Introduction to the theory of computation
Introduction to the theory of computationIntroduction to the theory of computation
Introduction to the theory of computation
prasadmvreddy
 
Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5
Dr. Maamoun Ahmed
 
Toc 1 | gate | Theory of computation
Toc 1 | gate | Theory of computationToc 1 | gate | Theory of computation
Toc 1 | gate | Theory of computation
narayan dudhe
 
Lecture: Automata
Lecture: AutomataLecture: Automata
Lecture: Automata
Marina Santini
 
Automata theory introduction
Automata theory introductionAutomata theory introduction
Automata theory introduction
NAMRATA BORKAR
 
NFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushikNFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushik
MudsaraliKhushik
 
Final fa part1
Final fa part1Final fa part1
Final fa part1
Megha Khanna
 
Automata
AutomataAutomata
Automata
Gaditek
 
Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)
Siddharaj Junnarkar
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
parmeet834
 
Finite automata
Finite automataFinite automata
Finite automata
Dr. Abhineet Anand
 
Ch3
Ch3Ch3
Finite automata
Finite automataFinite automata
Finite automata
Pusp Sunar
 

What's hot (20)

Introduction to fa and dfa
Introduction to fa  and dfaIntroduction to fa  and dfa
Introduction to fa and dfa
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
 
Automata theory
Automata theoryAutomata theory
Automata theory
 
Finite automata(For college Seminars)
Finite automata(For college Seminars)Finite automata(For college Seminars)
Finite automata(For college Seminars)
 
Finite automata
Finite automataFinite automata
Finite automata
 
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
 
AUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTESAUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTES
 
Introduction to the theory of computation
Introduction to the theory of computationIntroduction to the theory of computation
Introduction to the theory of computation
 
Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5Theory of Computation - Lectures 4 and 5
Theory of Computation - Lectures 4 and 5
 
Toc 1 | gate | Theory of computation
Toc 1 | gate | Theory of computationToc 1 | gate | Theory of computation
Toc 1 | gate | Theory of computation
 
Lecture: Automata
Lecture: AutomataLecture: Automata
Lecture: Automata
 
Automata theory introduction
Automata theory introductionAutomata theory introduction
Automata theory introduction
 
NFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushikNFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushik
 
Final fa part1
Final fa part1Final fa part1
Final fa part1
 
Automata
AutomataAutomata
Automata
 
Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
Finite automata
Finite automataFinite automata
Finite automata
 
Ch3
Ch3Ch3
Ch3
 
Finite automata
Finite automataFinite automata
Finite automata
 

Similar to Theory of computing presentation

a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptxa7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
pivap22198
 
The Theory of Finite Automata.pptx
The Theory of Finite Automata.pptxThe Theory of Finite Automata.pptx
The Theory of Finite Automata.pptx
ssuser039bf6
 
02. chapter 3 lexical analysis
02. chapter 3   lexical analysis02. chapter 3   lexical analysis
02. chapter 3 lexical analysis
raosir123
 
Lec1.pptx
Lec1.pptxLec1.pptx
Lec1.pptx
ziadk6872
 
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdfAutomata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
TONY562
 
Automata theory - CFG and normal forms
Automata theory - CFG and normal formsAutomata theory - CFG and normal forms
Automata theory - CFG and normal forms
Akila Krishnamoorthy
 
5. NFA & DFA.pdf
5. NFA & DFA.pdf5. NFA & DFA.pdf
5. NFA & DFA.pdf
TANZINTANZINA
 
Theory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping LemmaTheory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping Lemma
Rushabh2428
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
Prof. Dr. K. Adisesha
 
QB104541.pdf
QB104541.pdfQB104541.pdf
QB104541.pdf
MrRRajasekarCSE
 
Lecture 1 - Lexical Analysis.ppt
Lecture 1 - Lexical Analysis.pptLecture 1 - Lexical Analysis.ppt
Lecture 1 - Lexical Analysis.ppt
NderituGichuki1
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
A. S. M. Shafi
 
flat unit1
flat unit1flat unit1
flat unit1
Janhavi Vishwanath
 
Automata
AutomataAutomata
Automata
Gaditek
 
ContextFreeGrammars.pptx
ContextFreeGrammars.pptxContextFreeGrammars.pptx
ContextFreeGrammars.pptx
PEzhumalai
 
ContextFreeGrammars (1).pptx
ContextFreeGrammars (1).pptxContextFreeGrammars (1).pptx
ContextFreeGrammars (1).pptx
viswanath kani
 
Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1
Srimatre K
 
Lecture4 lexical analysis2
Lecture4 lexical analysis2Lecture4 lexical analysis2
Lecture4 lexical analysis2
Mahesh Kumar Chelimilla
 
Lex analysis
Lex analysisLex analysis
Lex analysis
Suhit Kulkarni
 
UNIT_-_II.docx
UNIT_-_II.docxUNIT_-_II.docx
UNIT_-_II.docx
karthikeyan Muthusamy
 

Similar to Theory of computing presentation (20)

a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptxa7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
a7f0bc7785844884c4de624f61ce5978_MIT18_404f20_lec4.pptx
 
The Theory of Finite Automata.pptx
The Theory of Finite Automata.pptxThe Theory of Finite Automata.pptx
The Theory of Finite Automata.pptx
 
02. chapter 3 lexical analysis
02. chapter 3   lexical analysis02. chapter 3   lexical analysis
02. chapter 3 lexical analysis
 
Lec1.pptx
Lec1.pptxLec1.pptx
Lec1.pptx
 
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdfAutomata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
 
Automata theory - CFG and normal forms
Automata theory - CFG and normal formsAutomata theory - CFG and normal forms
Automata theory - CFG and normal forms
 
5. NFA & DFA.pdf
5. NFA & DFA.pdf5. NFA & DFA.pdf
5. NFA & DFA.pdf
 
Theory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping LemmaTheory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping Lemma
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
 
QB104541.pdf
QB104541.pdfQB104541.pdf
QB104541.pdf
 
Lecture 1 - Lexical Analysis.ppt
Lecture 1 - Lexical Analysis.pptLecture 1 - Lexical Analysis.ppt
Lecture 1 - Lexical Analysis.ppt
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
flat unit1
flat unit1flat unit1
flat unit1
 
Automata
AutomataAutomata
Automata
 
ContextFreeGrammars.pptx
ContextFreeGrammars.pptxContextFreeGrammars.pptx
ContextFreeGrammars.pptx
 
ContextFreeGrammars (1).pptx
ContextFreeGrammars (1).pptxContextFreeGrammars (1).pptx
ContextFreeGrammars (1).pptx
 
Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1
 
Lecture4 lexical analysis2
Lecture4 lexical analysis2Lecture4 lexical analysis2
Lecture4 lexical analysis2
 
Lex analysis
Lex analysisLex analysis
Lex analysis
 
UNIT_-_II.docx
UNIT_-_II.docxUNIT_-_II.docx
UNIT_-_II.docx
 

More from Md. Touhidur Rahman

Industrial management presentation
Industrial management presentationIndustrial management presentation
Industrial management presentation
Md. Touhidur Rahman
 
Computer graphices presentation
Computer graphices presentationComputer graphices presentation
Computer graphices presentation
Md. Touhidur Rahman
 
Presentation simulation
Presentation simulationPresentation simulation
Presentation simulation
Md. Touhidur Rahman
 
Presentation operating system
Presentation operating systemPresentation operating system
Presentation operating system
Md. Touhidur Rahman
 
Presentation compiler design
Presentation compiler designPresentation compiler design
Presentation compiler design
Md. Touhidur Rahman
 
Numerical presentation
Numerical presentationNumerical presentation
Numerical presentation
Md. Touhidur Rahman
 
Presentation of database management system
Presentation of database management systemPresentation of database management system
Presentation of database management system
Md. Touhidur Rahman
 
Computer networking presentation
Computer networking presentationComputer networking presentation
Computer networking presentation
Md. Touhidur Rahman
 
Architecture presentation
Architecture presentationArchitecture presentation
Architecture presentation
Md. Touhidur Rahman
 
Semiconductor
SemiconductorSemiconductor
Semiconductor
Md. Touhidur Rahman
 
Data communication presentation
Data communication presentationData communication presentation
Data communication presentation
Md. Touhidur Rahman
 
Statistics presentation
Statistics presentationStatistics presentation
Statistics presentation
Md. Touhidur Rahman
 
Production of Cost
Production of CostProduction of Cost
Production of Cost
Md. Touhidur Rahman
 

More from Md. Touhidur Rahman (13)

Industrial management presentation
Industrial management presentationIndustrial management presentation
Industrial management presentation
 
Computer graphices presentation
Computer graphices presentationComputer graphices presentation
Computer graphices presentation
 
Presentation simulation
Presentation simulationPresentation simulation
Presentation simulation
 
Presentation operating system
Presentation operating systemPresentation operating system
Presentation operating system
 
Presentation compiler design
Presentation compiler designPresentation compiler design
Presentation compiler design
 
Numerical presentation
Numerical presentationNumerical presentation
Numerical presentation
 
Presentation of database management system
Presentation of database management systemPresentation of database management system
Presentation of database management system
 
Computer networking presentation
Computer networking presentationComputer networking presentation
Computer networking presentation
 
Architecture presentation
Architecture presentationArchitecture presentation
Architecture presentation
 
Semiconductor
SemiconductorSemiconductor
Semiconductor
 
Data communication presentation
Data communication presentationData communication presentation
Data communication presentation
 
Statistics presentation
Statistics presentationStatistics presentation
Statistics presentation
 
Production of Cost
Production of CostProduction of Cost
Production of Cost
 

Recently uploaded

132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
mahaffeycheryld
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
Prakhyath Rai
 

Recently uploaded (20)

132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
 

Theory of computing presentation

  • 1. Presentation Topic is: To Our Theory of Computing Presentation
  • 2. Group Member List: Name ID Md. Touhidur Rahman 152-15-6232
  • 3. Computational Models Computational Model are four type:  Finite Automata - DFA & NFA  Context Free Grammar  Push Down Automata  Turing Machine
  • 4. Finite Automata - DFA & NFA Definition: A deterministic finite automaton (DFA) consists of • 1. a finite set of states (often denoted Q) • 2. a finite set of symbols (alphabet) • 3. a transition function that takes as argument a state and a • symbol and returns a state (often denoted ) • 4. a start state often denoted q0 • 5. a set of final or accepting states (often denoted F)
  • 5. Finite Automata - DFA & NFA How to present a DFA? With a transition table • The ! indicates the start state: here q0 • The indicates the final state(s) (here only one final state q1) • This defines the following transition diagram
  • 6. Finite Automata - DFA & NFA Formal Definition:
  • 7. Finite Automata - DFA & NFA How to present a NFA? With a transition table
  • 8. Context Free Grammar What is a grammar?: A grammar consists of one or more variables that represent classes of strings (i.e., languages) There are rules that say how the strings in each class are constructed. The construction can use : 1. symbols of the alphabet 2. strings that are already known to be in one of the classes 3. or both
  • 9. Context Free Grammar Definition of Context-Free Grammar: A CFG (or just a grammar) G is a tuple G = (V, T, P, S) where 1. V is the (finite) set of variables (or nonterminal or syntactic categories). Each variable represents a language, i.e., a set of strings . 2. T is a finite set of terminals, i.e., the symbols that form the strings of the language being defined. 3. P is a set of production rules that represent the recursive definition of the language. 4. S is the start symbol that represents the language being defined. Other variables represent auxiliary classes of strings that are used to help define the language of the start symbol.
  • 10. Context Free Grammar Examples 1(CFG): The grammar: 1. E → I 2. E → E + E 3. E → E ∗ E 4. E → (E) 5. I → a 6. I → b 7. I → Ia 8. I → Ib 9. I → I 0 10. I → I 1 The Grammar for expression is started formally as, Grammar G 1 = ( {E, I }, T, P, E) where: T = { +, ∗, (, ), a, b, 0, 1 } is the set of symbol and P is the set of productions
  • 11. Context Free Grammar Derivation: The sequence of substitutions to generate a string is called a derivation. Derivation both are two types: 1.Left-Most Derivation. 2.Right-Most Derivation. Left-Most Derivation: A derivation which always replace the leftmost variable in each step is called a leftmost derivation. Examples of Left-Most derivation to Previous Examples1: Derivation of a ∗ (a + b00) by G 1 E ⇒ E ∗ E ⇒ I ∗ E ⇒ a ∗ E ⇒ a ∗ (E) ⇒ a ∗ (E + E) ⇒ a ∗ (I + E) ⇒ a ∗ (a + E) ⇒ a ∗ (a + I) ⇒ a ∗ (a + I0) ⇒ a ∗ (a + I00) ⇒ a ∗ (a + b00) We can conclude that E ∗ ⇒lm a ∗ (a + b00).
  • 12. Context Free Grammar Right-Most Derivation: Rightmost derivation Always replace the rightmost variable by one of its rule-bodies. Examples of Right-Most derivation to Previous Examples 1: E ⇒E ∗ E ⇒ E ∗ (E) ⇒ E ∗ (E + E) ⇒ E ∗ (E + I) ⇒rm E ∗ (E + I0) ⇒ E ∗ (E + I00) ⇒ E ∗ (E + b00) ⇒ E ∗ (I + b00) ⇒ E ∗ (a + b00) ⇒ I ∗ (a + b00) ⇒ a ∗ (a + b00) We can conclude that E ∗ ⇒rm a ∗ (a + b00).
  • 13. Push Down Automata Definition: A pushdown automata (PDA) is essentially an -NFA with a stack. • On a transition, the PDA: 1. Consumes an input symbol. 2. Goes to a new state (or stays in the old). 3. Replaces the top of the stack by any string (does nothing, pops the stack, or pushes a string onto the stack)
  • 16. Turing Machine Definition:  We can give a formal description to a particular TM by specifying each of its seven components.  This way a TM can become cumbersome. Note: To avoid this we use higher level descriptions which are precise enough for the purpose of understanding  However, every higher level description is actually just a short hand for its formal counterpart.