Question: a)Consider = {a}. Show the diagram for a DFA that accepts all strings over with odd number of as. Clearly show the start state and

  1. a)Consider = {a}. Show the diagram for a DFA that accepts all strings over with odd number of as. Clearly show the start state and final states b)For the same alphabet set as above, show the diagram for a DFA that accepts all strings with number of as not divisible by 3, i.e. , 2, 4, 5, 6, 8, 10+ etc. Clearly show the start state and final states c)Using answers for a and b, construct the DFA for accepting all strings over the same alphabet that accepts all strings with number of as which is odd but not divisible by 3, i.e. a, 5, 7, 11, 13, etc. Clearly show the start state and final states.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!