Does an NFA accept an empty string if and only if its start state is a final state? Is this true?
Please explain why.
This question is related to Automata and NFAs and DFAs.
Does an NFA accept an empty string if and only if its start state is a final state? Is this true?
Please explain why.
This question is related to Automata and NFAs and DFAs.
This is false. Consider a two-state NFA with a non-accepting initial state leading to an accepting state by means of a lambda- (or epsilon-, or empty) transition. The empty string is accepted by this NFA by traversing the transition, but the initial state is non-accepting.
If the claim were about DFAs, then it would be true, since lambda- (or epsilon-, or empty) transitions wouldn't be available.
Yes it is true. By defualt NFA means NFA without Epsilon transition. If it is an Epsilon NFA (NFA which can change state without consuming the input symbol) then the answer is false.
Yes, it is true. When the start state become the final state, then without reading any string you reached the final state. So the string accepted is empty. Refer https://www.udemy.com/course/introduction-to-theory-of-computations/