756 views

1 Answer

Best answer
3 votes
3 votes

Here Given language is containing all possible combination of 0's and 1's but not 2 consecutive 0's.

It means it accept all the strings other than which has 2 consecutive 0's.A string which has 2 consecutive 0's will lead to dead state.It will accept single 0 ,1 and ∈ too.

L={∈,0,1,10,01,101,.......}

selected by

Related questions

780
views
2 answers
1 votes
531
views
1 answers
0 votes
rohankrishan asked Jun 30, 2022
531 views
Examples that work: 100, 0000000101,110101010101 This DFA requires at least 8 states
283
views
2 answers
0 votes
rohankrishan asked Jun 29, 2022
283 views
Example: 11110100000111 should be accepted. There are 6 zeros. 6 is divisble by 2 and 3. This machine required at least six states.
878
views
1 answers
3 votes
all mix asked Jan 29, 2018
878 views
create a dfa with odd occurrence of sub string "abb" .and short cut for finding no.of states