1 / 6

CST229 Week 9

CST229 Week 9. Questions or concerns? Hand back Homework #7 & #5 Go over Homework#7 Discuss Lab#2 Test#2. Next week. Monday: Test#2 & your class standing will be posted. Notify Sherry if you want to take the optional Final Thursday: Wrap up & looking ahead to CST320 Optional Final

walter-clay
Télécharger la présentation

CST229 Week 9

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. CST229 Week 9 • Questions or concerns? • Hand back Homework #7 & #5 • Go over Homework#7 • Discuss Lab#2 • Test#2

  2. Next week • Monday: Test#2 & your class standing will be posted. • Notify Sherry if you want to take the optional Final • Thursday: • Wrap up & looking ahead to CST320 • Optional Final • Friday: • Lab#2 due at midnight via email • We are not meeting during Finals week

  3. Regular Grammar vs Context-Free Grammar (a+b)*(bbb+aaa)(a+b)* (a+b)*(bbb+aaa)(a+b)* S -> aS | bS | X X -> aaaY| bbbY Y -> aY| bY| S -> XYX X -> aX | bX |Y -> aaa | bbb

  4. Convert to RE S -> aB | bA | A -> aS B -> bS

  5. Remove Lambda S -> XaX| bX X -> XaX | b | 

  6. Remove unit S -> aX | Yb X -> S Y -> bY | b

More Related