regular-languagefinite-automata

Automaton that recognizes a language without 3 consecutive zeros


I would create a finite state automaton that recognizes the language of strings of 0 and 1 that don't contain 3 consecutive zeros. I tried to do the following automaton but isn't complete as, for example, it doesn't recognize the string: 1001110 enter image description here

How can I change it? For the rest, my reasoning to solve the exercise is that correct? Thanks so much


Solution

  • i made this in paint so not looking nice but,try below automation.enter image description here