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
-
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started