edited by
13,427 views
43 votes
43 votes

Consider the following Finite State Automaton:

The language accepted by this automaton is given by the regular expression

  1. $b^*ab^*ab^*ab^*$

  2. $(a + b)^*$

  3. $b^*a(a+b)^*$

  4. $b^*ab^*ab^*$

edited by

6 Answers

0 votes
0 votes
test for string a and epsilon we can easily get answer C
0 votes
0 votes

q0 is the initial state. q1 and q2 are the final states. String  is accepted. 

Option a) doesn't generate string a.

option b) generates string b which is not accepted by the finite automata.

option d)  doesn't generates string a.

 

therefore option c is the answer.

Answer:

Related questions

27 votes
27 votes
3 answers
1
go_editor asked Apr 23, 2016
8,475 views
Consider the following Finite State Automaton:The minimum state automaton equivalent to the above FSA has the following number of states:$1$$2$$3$$4$
32 votes
32 votes
4 answers
2
Kathleen asked Sep 21, 2014
11,566 views
A minimum state deterministic finite automaton accepting the language$L=\{w\mid w \in \{0, 1\}^*,$ number of $0$s and $1$s in $w$ are divisible by $3$ and $5$, respective...
39 votes
39 votes
2 answers
3
Kathleen asked Sep 21, 2014
14,174 views
Which of the following languages is regular?$\left\{ww^R \mid w \in \{0, 1\}^+\right\}$$\left\{ww^Rx \mid x,w \in \{0, 1\}^+\right\}$$\left\{wxw^R \mid x, w \in \{0, 1\}...
26 votes
26 votes
4 answers
4
Kathleen asked Sep 21, 2014
8,389 views
The language $L=\left\{0^i21^i \mid i \geq 0\right\}$ over the alphabet $\left\{0, 1, 2\right\}$ is:not recursiveis recursive and is a deterministic CFLis a regular langu...