CSci 3501 Algorithms and Computability - Lab 6.

October 7. Due Wednesday, October 15 at 11:59pm

What to submit and when:

Lab assignment

Work in pairs

Lab overview and goals

The goal of the lab is to practice with JFLAP (a tool for experimenting with finite automata and other computability topics) and to design and test finite automata (DFAs and NFAs).

Using JFLAP and naming your files

Lab tasks

Unless specified otherwise, the alphabet is the set of 0 and 1.

Please design the following finite automata:

  1. DFA for the language in Exercise 1.6j (strings with at least two 0s and at most one 1).
  2. DFA to recognize the language of all strings that end at an even number of zeros. Recall that 0 is an even number.
  3. DFA to recognize the language of all strings that have a pattern 01 but not 101
  4. DFA to recognize the language of all strings that have a pattern 01 but not 0101
  5. Extra credit question. Submit only if your solution uses nondeterminism in a non-trivial way. NFA to recognize the language of all strings that end at an even number of zeros
  6. Extra credit question. Submit only if your solution uses nondeterminism in a non-trivial way NFA to recognize the language of all strings that have a pattern 01 but not 101

What to submit


CSci 3501 course web site.