EECS 2001 Midterm: EECS2001 Test 1 2012

304 views5 pages

Document Summary

You may use any result that was proved in class or in the textbook without reproving it. Make sure your test has 5 pages, including this cover page. Answer in the space provided. (if you need more space, use the reverse side of the page and indicate clearly which part of your work should be marked. ) Let l = {w {a, b} : w does not contain the substring aab}. For example, babb and ba are in l, but bbaaba is not in l. draw a deterministic nite automaton for l. Write a regular expression that describes the language accepted by the automaton shown below. We de ne a function f : as follows. For any x , f (x) is the string obtained by replacing each occurrence of b in x by cc. For example, f (ab) = acc, f (cab) = cacc and f (bc) = ccc.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents