in Theory of Computation recategorized by
9,708 views
6 votes
6 votes

The minimum number of states of the non-deterministic finite automaton which accepts the language

$\{ a b a b^n \mid n \geq 0 \} \cup \{ a b a^n \mid n \geq 0 \}$ is

  1. 3
  2. 4
  3. 5
  4. 6
in Theory of Computation recategorized by
9.7k views

2 Answers

10 votes
10 votes
Best answer

L={ababn∣n≥0}∪{aban∣n≥0} 

L={ab, aba , abaa  ,abab  ,ababb,..........}

The minimum number of states of the non-deterministic finite automaton which accepts the language =5

Hence,Option(c)5 is the correct choice.

edited by

4 Comments

Praveen Saini  Sir please check  this

1
1


yes now it is correct update in answer

0
0

Thank You sirsmiley

1
1
1 vote
1 vote

answer : 4

Correct me if I am wrong

by

4 Comments

reshown by
ok I got it in case of NFA it is fine
0
0
reshown by
Yes, This NFA wrongly accepts the string abaaaaabbb.. which does not belong to L

Answer is wrong
1
1
@sh!va thanks your point makes a difference here  now i got it
0
0
Answer:

Related questions