2,107 views
4 votes
4 votes

Indicate whether the following statements are true or false, providing a short explanation to substantiate your answers.

  1. A DFA with $n$ states must accept at least one string of length greater than $n$.

1 Answer

Best answer
6 votes
6 votes

FALSE.

It is true only if the DFA is accepting infinite set of strings. 

Say, the DFA accepts only $\mathbf{aa}$

Minimum number of states to accept $\mathbf{aa}$ is $4$ as shown below.

So, here no string with length $>4$ is accepted.


 

selected by

Related questions

11 votes
11 votes
2 answers
1
go_editor asked May 27, 2016
1,082 views
Indicate whether the following statement is true or false, providing a short explanation to substantiate your answers.If a language $L$ is accepted by an NFA with $n$ sta...
18 votes
18 votes
6 answers
2