1. Draw a DFA for each of the following (here, ∑ = {0,1}):
a. Set of all non-empty strings.
b. Set of all strings that do not contain the substring 1010.
c. Set of all strings that are at least of length 4 and contain even number of 1’s.
d. Set of all strings that do not end with 11.
e. Set of all strings with at most one consecutive pair of 1’s.
f. Set of all strings that have an odd number of 1’s and any number of 0’s.
g. For Σ = {a, b, c}, all strings with aab as a substring.
h. For Σ = {a, b}, all strings with aababb as a substring.
1
Expert's answer
2019-09-23T01:55:43-0400
Dear Mlk, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment