Questions
- Write regular expressions for:
- Alpha = {0,1}, even number of zeros
- Alpha = {a,b,...,z}, letters in alphabetical order
- Alpha = {a,b,...,z,/,#}, comments surrounded by /# . . . #/
(Note that I'm replacing # for *)
- NFA and DFA for
- ((a*ba*) | (b*ab*))(aa | bb)
- ((aa)+ | (bb)+)* | (a+b)*
- (1*01*01*)*
Solutions