尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
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

An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
DharmaBanothu
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine
 
Online train ticket booking system project.pdf
Online train ticket booking system project.pdfOnline train ticket booking system project.pdf
Online train ticket booking system project.pdf
Kamal Acharya
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Poonam Singh
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
Geoffrey Wardle. MSc. MSc. Snr.MAIAA
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
IJCNCJournal
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
Ismail Sultan
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
Kamal Acharya
 
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdfSri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Balvir Singh
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
NaveenNaveen726446
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
aarusi sexy model
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
DebendraDevKhanal1
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
Tsuyoshi Horigome
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
SONALI Batra $A12
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
EMERSON EDUARDO RODRIGUES
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
gapboxn
 
Technological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdfTechnological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdf
tanujaharish2
 

Recently uploaded (20)

An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
 
Online train ticket booking system project.pdf
Online train ticket booking system project.pdfOnline train ticket booking system project.pdf
Online train ticket booking system project.pdf
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
 
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdfSri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Technological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdfTechnological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdf
 

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.
  翻译: