Close
Register
Close Window

CS4114 Formal Languages and Automata

Chapter 3 Finite Acceptors

Show Source |    | About   «  3.3. DFA exercises 2   ::   Contents   ::   3.5. NFA: Non-Deterministic Finite Automata  »

3.4. DFA exercises 3

3.4.1. DFA exercises




3.4.2. DFA Complement Exercise

HINT: If DFA \(M\) accepts language \(L\), the we can create a machine to accept the complement of \(L\) by reversing the final and non-final states of \(M\). However, that only works on a complete DFA, meaning that we have to take into account the trap state.

   «  3.3. DFA exercises 2   ::   Contents   ::   3.5. NFA: Non-Deterministic Finite Automata  »

nsf
Close Window