1
CS 301 - Lecture 3 NFA DFA Equivalence Regular Expressions
Fall 2008
Review
- Languages and Grammars
– Alphabets, strings, languages
- Regular Languages
– Deterministic Finite Automata – Nondeterministic Finite Automata
- Today:
( ) ( ) if = M DFA 1 2 0 , 1 2 0 L ( M ) { 10 } - - PDF document
Review Languages and Grammars Alphabets, strings, languages CS 301 - Lecture 3 Regular Languages NFA DFA Equivalence Deterministic Finite Automata Regular Expressions Nondeterministic Finite Automata Today: Fall 2008
1
σ
2
σ
k
σ
1
σ
2
σ
k
σ
1
σ
2
σ
k
σ
f
1
2
n
} { 0 q 1
2
n
} , { …
i
q
} , { …
j
q } , { …
l
q } , { …
m
q
1
} { 0 q 1
} , { …
i
q
1
2
k
} { 0 q 1
2
k
} , { …
i
q } , { …
j
q } , { …
c
q } , { …
d
q
1
2
k
} { 0 q 1
2
k
} , { …
i
q } , { …
j
q } , { …
c
q } , { …
d
q
1
2
k
} { 0 q 1
2
k
} , { …
i
q } , { …
j
q } , { …
c
q } , { …
d
q
1 + k
1 + k
} , { …
e
q
1
σ
2
σ
k
σ
1
σ
2
σ
k
σ
f
– Linz Chapter 1, 2.1, 2.2, 2.3, (skip 2.4), Chapter 3 – JFLAP Startup, Chapter 1, 2.1, (skip 2.2) 3, 4
– Regular Expressions and Regular Languages – Regular Grammars and Regular Languages
– Covers Linz 1.1, 1.2, 2.1, 2.2, 2.3, and JFLAP 1, 2.1 – Closed book, but you may bring one sheet of 8.5 x 11 inch paper with any notes you like. – Quiz will take the full hour
– Homework 2 is Due Thursday