I am reviewing.
I need to write a DFA that accepts a string w such that bab is not a substring.

Is there any error. Also, any guideline or tips? Since it's a DFA I don't make more than 2 transition from any state and I make sure there is exactly 2 transition state from all states.
My understanding is that NFA may have more than 2 transitions for an alphabet with 2 letters and that's basically the only difference between a DFA and a NFA.