Let L be the language represented by the regular expression Σ∗0011Σ∗ where Σ={0, 1}. What is the minimum number of states in a DFA that recognizes L̅ (complement of L)?
Let L be the language represented by the regular expression Σ∗0011Σ∗ where Σ={0, 1}. What is the minimum number of states in a DFA that recognizes L̅ (complement of L)? Correct Answer 5
Number of states in DFAs accepting L and L̅ is always equal.
DFA accepting (0+1) * 0011 (0+1)* is:
[ alt="z,042" src="//storage.googleapis.com/tb-img/production/17/05/z%2C042.JPG">
Hence DFA accepting L̅ will be
[ alt="z,044" src="//storage.googleapis.com/tb-img/production/17/05/z%2C044.JPG">
It has 5 states.
মোঃ আরিফুল ইসলাম
Feb 20, 2025