

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


This assignment asks you to prepare written answers to questions on regular languages and finite automata. Each of the questions has a short answer. You may discuss the assignment with other students and work on the problems together. However, your write-up should be your own individual work.
Please print your name and email address on your homework! We need this information so that we can give you credit for the assignment and so that we can return it to you.
Give a deterministic finite automaton (DFA) for the languages L 1 , L 2 , L 3 and L 4. Aside: This example illustrates that regular languages are closed under intersection and complementation. Note that L 3 = L 1 ∩ L 2 and L 4 = Σ∗^ − L 2 where Σ∗^ is the language of all strings over the alphabet Σ.
b
b (^) b (^) b
a (^) a (^) a a
Give a one-sentence description of the language recognized by the DFA. Write a regular expression for the same language.
Give a non-deterministic finite automaton (NFA) for the languages L 1 and L 2. Aside: Non-deterministic finite automata are no more powerful than DFAs in terms of the languages they can describe. They can be expo- nentially more succinct than DFAs, however.
Don’t forget to print your name and email address on each page of your writeup.