320 Problem Set 7
320 Problem Set 7
Problem Set 7
What can you do with regular expressions? What are the limits of regular languages? On this prob-
lem set, you'll find out!
As always, please feel free to drop by office hours, ask on Piazza, or send us emails if you have any
questions. We'd be happy to help out.
Good luck, and have fun!
Due Friday, November 18 at the start of class.
qacc
ε
a
start qstart ε q0 q1
a
b b b b
q2 a q3
a
We'd like you to use the state elimination algorithm to produce a regular expression for L.
i. Run two steps of the state elimination algorithm on the above automaton. Specifically, first remove
state q₁, then remove state q₂. Show your result at this point.
ii. Finish the state elimination algorithm by removing q₃, then q₀. What regular expression do you get
for L?