Question: Problem 1 : ( 2 5 points ) Let A = { a 1 , a 2 , dots, a 1 4 0 3 }

Problem 1: (25 points) Let A={a1,a2,dots,a1403}sub{0,1}** be a set of strings with aiin{0,1}** for all 1i1403.
Can one describe A-{} by a regular expression? Why?
Can one describe A2=A*A by a regular expression? Why? {0,1}1403+{0,1}1403
Can one describe A** by a regular expression? Why?
Problem 2: (25 points) Let Lsub{0,1}** be the formal language of all strings that contain at least two 1's.
Provide a regular expression for L.
Provide a minimal DFA that describes LR
strings that contain at least
(0,1)(0+1)**1(0+1)
LR
Problem 3: (25 points) Which one of the following formal languages are regular? Why?
{u$u|uin{0,1}**}sube{0,1,$}**.
The set of all strings in {0,1}** having different number of zeros and ones.
Problem 4: (25 points) Consider the following -NFA describing a language L and construct a minimal DFA describing LR(explicitly describe your method and write down the details of your computations).
S1S2
Figure 1: The -NFA of Problem 4.
 Problem 1: (25 points) Let A={a1,a2,dots,a1403}sub{0,1}** be a set of strings

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!