Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (10 points) In parts (a) and (b) the alphabet is {0,1}. (a) Give the state diagram of a DFA recognizing the language L1 =
1. (10 points) In parts (a) and (b) the alphabet is {0,1}.
(a) Give the state diagram of a DFA recognizing the language L1 = {w|w represents a binary number that has remainder 1 or 3 when divided by 7}(with as few states as you can). Leading 0s should be ignored. The empty string can be accepted or rejected it is up to you.
(b) Give the state diagram of an NFA recognizing the language L3 = {w | w contains substrings 1000 and 10 which do not overlap} (with as few states as you can).
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