lecture 3.ppt by 5th SEM LPU Lecture PPT

abcxyz19691969 20 views 21 slides Oct 07, 2024
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

CSE 322


Slide Content

CSE322
DFA and NDFA
Lecture #3

1
q
2
q
3q
a
a
a
0q
}{a
Alphabet =
Nondeterministic Finite Automaton

1
q
2
q
3q
a
a
a
0q
Two choices
}{a
Alphabet =

No transition
1
q
2
q
3q
a
a
a
0q
Two choices
No transition
}{a
Alphabet =

NFA and DFA

Real Life examples
•example can be any person's career. a person can learn hours and study
various subjects but will still land on a career less predictable like a
mathematics student may become a soldier, a botanist may become cook
etc.
•Downloading a movie

CSE322
Equivalence of DFA and
NDFA
Lecture #3

Acceptablity
•NFAs and DFAs are equivalent in that if a
language is recognized by an NFA, it is also
recognized by a DFA and vice versa

DFA and NDFA
•Every NDFA is DFA but vice versa is not true

Equivalence of DFA and NDFA

Problem

Solution

Problem

Solution
Tags