1,692 views
3 votes
3 votes

Construct a minimal DFA, which accepts set of all strings over {0, 1}, which when interpreted as binary number is divisible by ‘3’. , IS 

IS this solution right because null string is also accepted which is not in language 

3 Answers

2 votes
2 votes

 If you want to avoid taking the null string then you must take a new initial state which provides the current initial state (q0) with 0 and q1 state with 1. Otherwise if initial state is final state then it will always have null string in the language set. 

edited by

Related questions

323
views
0 answers
0 votes
Bhaskar Singh asked Apr 24, 2016
323 views
I am reading Hopcroft Ullman - Automata Theory(2nd Edition).In page Number 65 (Red Underline part in the given Image); I understand when i=1 but unable to understand ... may be Accepting and Non-Accepting ".Please help me............Thanks