Quiz – Version 1
Write your Name, Student ID, and section number on a piece of paper
Time limit – 30 minutes
a | a a* b
Solution
a
a
Quiz – Version 2
Write your Name, Student ID, and section number on a piece of paper
Time limit – 30 minutes
(a | ba)*bb(a | ab)*
Solution
Quiz – Version 3
Write your Name, Student ID, and section number on a piece of paper
Time limit – 30 minutes
(bb)*(aa)*
Solution
Quiz – Version 4
Write your Name, Student ID, and section number on a piece of paper
Time limit – 30 minutes
Σ = {0, 1}
L = { w ∈ Σ* | w contains at most one 0 }
Solution
Quiz – Version 5
Write your Name, Student ID, and section number on a piece of paper
Time limit – 30 minutes
(ab|abb)+ (b)?
Solution
q0
q0
, b
Quiz – Version 6
Write your Name, Student ID, and section number on a piece of paper
Time limit – 30 minutes
NFA for [a-z]*car[a-z]?
DFA for [a-z]*car
Solution
q0