Question: DFA 6. Give a DFA M that accepts the language L1 = {w | W {a,b}* and (w mod 3 = 2}. 7. Give a

DFA

DFA 6. Give a DFA M that accepts the language L1 =

6. Give a DFA M that accepts the language L1 = {w | W {a,b}* and (w mod 3 = 2}. 7. Give a DFA or NFA M2 that accepts the language L2 over the alphabet {a,b}, and L2 {w | (na(w) mod 3) > (no(w) mod 3)}, where na(w) and no(w), respectively, denote the number of a's and b's in w. 8. Let L3 = {w\w {0,1}* and w = 0'11 or w = 1'0', where i is odd and j is an even number greater than 0}. Give a DFA or NFA M3 that accepts the language L3

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!