in Others edited by
287 views
0 votes
0 votes

Which of the following language is regular:

  1. $L=${${a^{n}b^{n}|n\geq 1}$}
  2. $L=${${a^{n}b^{m}c^{n}d^{m}|n,m\geq 1}$}
  3. $L=${${a^{n}b^{m}|n,m\geq 1}$}
  4. $L=${${a^{n}b^{m}c^{n}|n,m\geq 1}$}
in Others edited by
287 views

1 Answer

0 votes
0 votes

option C is the answer.

It is the set of strings in which one or more a's is followed by one or more b's.

Finite automata for the above language is 

where D is dead state, A is the start state,C is final state.

The language is accepted by finite automata.Hence it is regular

Answer:

Related questions