|
CS 334 Fall 2004
|
Assignment 1
- Construct a DFA that accepts only the empty string.
- Construct a DFA for the language using alphabet {a, b} for strings having every a preceded by b.
- Make a transition table for your automaton.
- Construct a DFA for a language whose strings have an odd number of a's and an even number of b's.
- Construct a DFA that accepts strings having at least one substring bbb.
- Make a transition table for your automaton.
- Construct a DFA that acts as a vending machine for newspapers that cost 25 cents each.
- Tell what language the following automata recognize.
[pictures will be given in class].
|