Question: a . Let { a , b , c , dots, z } be an alphabet. Construct regular expressions for the following languages i .
a Let dots, be an alphabet. Construct regular expressions for the following languages
i The set of strings which are zero or more repetitions of the letter a
ii The set of strings in part i followed by one or more repetitions of strings "aba" or "bab".
iii. The set of strings in part ii followed by one repetition of a followed by zero or more
repetitions of
b Give three NFAs which accept the set of strings described by the three regular expressions in your
answer to Question a iii and iii
c Give an example of an NFA that is not a DFA. The NFA should have at least states and be over
alphabet with at least three letters. Give a brief explanation why the automaton is not a DFA.
d Give three strings over alphabet which are recognised by the following regular expression:
I NEED YOU TO MAKE PROPER NFA AND DFA DIAGRAMS FOR ME NOT JUST A CODE. PLEASE I NEED PROPER DIAGRAMS.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
