Question: Consider the DFA over the alphabet { 0 , 1 , 2 } defined as follows: q 0 is start state; { q 0 ,
Consider the DFA over the alphabet defined as follows:
q is start state; q q are accepting states.
qq
qq
qq
qq
qq
qq
qq
qq
qq
qq
qq
qq
From the following, select the language matched by this DFA. in all possible answers, w refers to a string that belongs to the said language
Question Answer
a
L contains all w such that every in w is immediately followed by a or is immediately preceded by a
b
L contains all w such that every in w is immediately followed by a or is immediately preceded by a
c
L contains all w such that no in w is immediately followed by a or is immediately preceded by a
d
L contains all w such that every in w is immediately followed by a or is immediately preceded by a
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
