Question:

The minimum number of states in a DFA accepting \( L = \{ w | w \text{ ends with } 01 \} \) over \( \Sigma = \{0, 1\} \) is _______ .

Show Hint

For regular languages, the minimum number of states in a DFA depends on the pattern or condition being checked, such as "ends with 01."
Updated On: Jun 16, 2025
  • 2
  • 3
  • 4
  • 5
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

A DFA that accepts strings ending with "01" needs at least three states: one to track if the last character was a "0", another to track if the last character was a "1", and a third to indicate the final acceptance state when the string ends with "01". 
Therefore, the minimum number of states required is 3.
 

Was this answer helpful?
0
0