1,649 views
0 0 votes

Consider the following NFA:-

How many final states required in the equivalent DFA?

2 Answers

1 1 vote

regular expression of given language = (a+b)* ba (a+b)* {every string contains "ba" as sub string}

In general, |w| length sub string contain |w|+1 states in DFA

Hence, 3 states are required in which one is final state.

• edited by
Position:
Show:

Related questions

2 2 votes
1 1 answer
1.4k
1.4k views
rahul sharma 5 asked Nov 9, 2017
1,424 views
Minimum number of states in DFA where:, Number of a's and Number of b's are even and epsilon is not accepted.Langugae is defined over {a,b}
0 0 votes
2 2 answers
532
532 views
Manuj_og asked May 2, 2023
532 views
DFA
on seeing a dfa how can we predict the number of states in it?
0 0 votes
1 answers 1 answer
649
649 views
Dknights asked Nov 19, 2022
649 views
can we solve it with a minimum of 4 states?
0 0 votes
2 answers 2 answers
3.0k
3.0k views
aditi19 asked Dec 14, 2018
2,992 views
Given following NFAfind the minimal equivalent DFA