1 / 5

Homework 1 Solution: Problem 3.6

Homework 1 Solution: Problem 3.6. Homework 1 Solution – Problem 1. 1a: Accepts either one “a” or zero or more “b”s followed by a c. 1b: Accepts either one or more “ab” followed by a c or one “b” followed by zero or more a’s 1c: No Answer Provided ….

imani-downs
Download Presentation

Homework 1 Solution: Problem 3.6

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Homework 1 Solution: Problem 3.6

  2. Homework 1 Solution – Problem 1 1a: Accepts either one “a” or zero or more “b”s followed by a c. 1b: Accepts either one or more “ab” followed by a c or one “b” followed by zero or more a’s 1c: No Answer Provided …

  3. Homework 1 Solution – Problem 2 2a: (1|00)* 2b: cons = {b, c, d, e, f ,,, y, z} vow = {a, e, i, o, u} ANS = cons* (vow | epsilon) cons*

  4. Homework 1 Solution: 3.16a and 3.17a b  1, 2, 4, 5, 6, 7 0, 1, 2, 4, 7 b b a 3 2 a  a   1, 2, 3, 4, 6, 7,  0 1 6 7   b a 4 5 

  5. Homework 1 Solution: 3.16d and 3.17d  a 13 12     10 11 16 17   b 14 15 b  9 b  8 a a 3 2     0 1 6 7 Try Yourself: DFA for 3.17d Should have a total of 7 states   b 4 5 

More Related