Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a.1) Generate regular expressions for the following languages where, i. {w I w contains at least three 1s} ii. {w I w contains the substring
a.1) Generate regular expressions for the following languages where,
i. {w I w contains at least three 1s} ii. {w I w contains the substring 101} iii. {w I w is a string of even length} iv. {w I w has at least one 1} v. {w | the length of w is a multiple of 3}
a.2) Give the formal definition of the following NFA in Figure: 1 and convert it into an equivalent DFA.
(10 + 15 Marks)
= {0, 1}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