InterviewSolution
Saved Bookmarks
| 1. |
If string s is accepted by this DFA, which of these strings cannot be suffix of s?(a) 111001(b) 111111(c) 111000(d) 101010 |
|
Answer» The correct answer is (a) 111001 For explanation I would say: 111001 cannot be the suffix of any string accepted by this DFA. Suppose s=w111001. No matter what state the DFA reaches after reading w, it will go to state D after reading “111”, then go to state B after reading “00” and finally reaches state C after reading “1”. |
|